> How can I parse the output of another program running using
> System.exec()?
There is no such method.
> alternativly how can i cummincate with the os with java as if i were
> using a command prompt?
See http://java.sun.com/javase/6/docs/api/java/lang/Process.html
- Oliver
ender - 01 Jun 2007 20:38 GMT
> > How can I parse the output of another program running using
> > System.exec()?
[quoted text clipped - 7 lines]
>
> - Oliver
sorry I got system.exit() confused with runtime.exec()
you need to read back the input- (and/or) error-stream
of your executed process. find a description of it here:
http://java.sun.com/javase/6/docs/api/java/lang/ProcessBuilder.html
(take a look at the class-comment)