Thursday, April 4, 2002 02:20 PM
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.