How to call a program to run back-end ? Please Help
I am kokhwa. I have meet problem to call a program to run back-end.
I want to call ztc to run at back-end, but I dont know how to do it! I hope anyone who has experience or know about it to help me. Thanks a lot.
ztc is a Z typechecker. ztc running using dos prompt. if the path is "c:/ztc/" , we need to type command like this "ztc filename.zed" to run ztc. after that, ztc will generate a file call "filename.log", after that i have to read a the *.log file to generate another file...That is my problem!
anybody know how to solve this problem?
Thanks for your help!
I suggest you check Runtime.exec() - you can use it to invoke a program.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center