Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting return buffer from a shell script

Status
Not open for further replies.

Pitone

Programmer
Oct 12, 2004
15
IT
Sorry again , I need a variable returned from a shell script and not the return value (0, 1 ...)
I mean my script returns me a string and I need to assign it to a variable in my class.
Thanks again!
 
Why are you starting another thread for this ?

Look at the documentation for the Process class. If you shell script prints to stdout or stderr you can capture that stream via this class.



--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top