Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where is the InputStream stored...?

 
Viswanathan Nachiappan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In

Runtime.getRuntime().exec(command)
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Runtime.exec returns a Process object, which gives you access to the input, output and error streams.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic