|
|
Runtime.process.exec()
|
Posted: Mar 5, 2002 5:12 PM
|
|
Hi,
I posted a question sometime ago, but didnt get an answer hence am posting my core confusion.
I wonder Runtime.exec() can deal with user interaction in subprocess. For example, program A calls program B through Runtime.exec(). Program B gives some output and receives standard input. I understand how B's output is redirected to A, but I have no idea how B's standard input(terminal input) can be handled. When I tried this type of program, I found out two processes just wait(maybe blocked) forever.
hope to get some input, thanks!
|
|