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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL