dcsimg
Using runtime.exec under windows '98.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   David_Abelson
Posted On:   Tuesday, August 7, 2001 05:16 PM

I am trying to run a program called magma interactively under windows '98. My code is as follows: String [] command = { "c:\command.com", "/y", "/c" "magma", "-x", -b"}; Process p = Runtime.getRuntime().exec(command); InputStream is = p.getInputStream();..... This compiles and runs, but seems not to execute the command properly. It certainly isn't giving me a handle on the inputStream. How can one invoke correctly under '98? Thanks in advance    More>>

I am trying to run a program called magma interactively
under windows '98.
My code is as follows:



			
String [] command = { "c:\command.com", "/y", "/c"
"magma", "-x", -b"};

Process p = Runtime.getRuntime().exec(command);

InputStream is = p.getInputStream();.....





This compiles and runs, but seems not to execute the command
properly. It certainly isn't giving me a handle on the inputStream.
How can one invoke correctly under '98?
Thanks in advance    <<Less
About | Sitemap | Contact