The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-23-2006
spoodie's Avatar
spoodie spoodie is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 14
I'm not familar with rexec but if you need to do this you could try a wrapper script that reports the exit status as text, ie. start the wrapper script remotely and have that start the proper script and pickup the exit status for you. Obviously this wouldn't give you the exit status of the wrapper script but if it's simple enough you could assume it works fine or if it reports no exit status then assume it's failed.