GeeCON Prague 2014*
The moose likes Java in General and the fly likes Runtime.getRuntime block question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Runtime.getRuntime block question" Watch "Runtime.getRuntime block question" New topic
Author

Runtime.getRuntime block question

haifeng zhou
Greenhorn

Joined: Oct 30, 2009
Posts: 13

this thread is run success and no block, but next code will block, why??
Must I get the InputStream?

thanks a lot
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Search for and read the Javaworld article "When Runtime.exec() won't" and you'll understand.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39053
    
  23
Rob Prime wrote:Search for and read the Javaworld article "When Runtime.exec() won't" and you'll understand.
Far too difficult for beginning Java. Moving thread.
 
GeeCON Prague 2014
 
subject: Runtime.getRuntime block question