aspose file tools
The moose likes I/O and Streams and the fly likes runtime.exec() call and user interaction Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "runtime.exec() call and user interaction" Watch "runtime.exec() call and user interaction" New topic
Author

runtime.exec() call and user interaction

Aarti Thorat
Greenhorn

Joined: Mar 11, 2002
Posts: 1
I wonder if Runtime.exec() can deal with user interaction in subprocess.
For example, program A.java calls program B.class through Runtime.exec(). Program B gives some output and receives standard input. I understand how B's output is
redirected to A through the getInputStream(), 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.
Any Help is greatly appreciated.
Thanks !
Aarti.
Ramakrishnan G
Greenhorn

Joined: Mar 15, 2002
Posts: 3
Hai Arti,
Can u give me more specific details about what thos processes are doing.
 
 
subject: runtime.exec() call and user interaction
 
Threads others viewed
Runtime.exec() Question
Runtime.exec()--->Where, oh Where?
I/O binary piping ? Please Help !
creating a link
Writing to a Process Stream
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture