Posted By:
Lun_Xiao
Posted On:
Thursday, April 4, 2002 02:21 PM
Hi, I have a C program that executes like this:
myProg infile outfile
When the program is executed on dos command line, it works well. When I call it in Java
Runtime.getRuntime.exec("myProg infile outfile");
The outfile is created. But the contents were not written. How can I fix this problem? Thanks. lun Xiao