This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 20077
    
  30

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 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43900
    
  32
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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Runtime.getRuntime block question
 
It's not a secret anymore!