• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runtime.getRuntime block question

 
haifeng zhou
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Pie
Posts: 20613
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for and read the Javaworld article "When Runtime.exec() won't" and you'll understand.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49865
71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic