my dog learned polymorphism
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Where is the InputStream stored...? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Where is the InputStream stored...?" Watch "Where is the InputStream stored...?" New topic
Author

Where is the InputStream stored...?

Viswanathan Nachiappan
Greenhorn

Joined: Jul 26, 2006
Posts: 5
In

Runtime.getRuntime().exec(command)
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Runtime.exec returns a Process object, which gives you access to the input, output and error streams.
 
Don't get me started about those stupid light bulbs.
 
subject: Where is the InputStream stored...?
 
It's not a secret anymore!