> well the output should say that
>
[quoted text clipped - 5 lines]
>
> thanks
See http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html
<quote>
All its standard io (i.e. stdin, stdout, stderr) operations will be
redirected to the parent process through three streams (getOutputStream(),
getInputStream(), getErrorStream()). The parent process uses these streams
to feed input to and get output from the subprocess. Because some native
platforms only provide limited buffer size for standard input and output
streams, failure to promptly write the input stream or read the output
stream of the subprocess may cause the subprocess to block, and even
deadlock.
</quote>
- Oliver
> well the output should say that
>
[quoted text clipped - 5 lines]
>
> thanks
you need to "process" the output by getting the standard streams from the
new process. Probably best to start new threads to do this if you don't want
to hold up your "parent" program.
CSUIDL PROGRAMMEr - 31 Mar 2006 22:06 GMT
how do i do that
i mean start new threads
thanks
Oliver Wong - 31 Mar 2006 22:23 GMT
> how do i do that
> i mean start new threads
> thanks
A google search for "java thread" (without the quotes) gives me:
http://java.sun.com/docs/books/tutorial/essential/threads/
- Oliver