Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Retrieving Runtime.exec() results....

  Asked By: Darcy    Date: Aug 23    Category: Java    Views: 705
  

Is there a way in Java that I can retrieve the result of a
Runtime.exec system call? I know the exec() method is more commonly
used to start some kind of app or tool on the specific OS, but what
I'm trying to do is run the "uname -v" command on Solaris. On TSol,
the result of this command is "TS8". I somehow need to capture
that "TS8" into a String.... Any suggestions would help!

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Retrieving Runtime.exec() results.... Or get search suggestion and latest updates.




Tagged: