aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 19541
    
  16

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: 36464
    
  15
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 !!!
why JMX can not stop
Stop blocked thread
the exec command is not able to deal with space some time
How to call an .exe inside the same jar of main class?