This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 19654
    
  18

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: 38020
    
  22
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Runtime.getRuntime block question
 
Similar Threads
readObject() eat memory !!!
Stop blocked thread
How to call an .exe inside the same jar of main class?
the exec command is not able to deal with space some time
why JMX can not stop