exec "rsh $plant /u1/bin/forkit '/u1/bin/zwork.pl'" How do I use the above, which starts my process then lets my calling program continue, to check for an error? In this particular case, the error occurs because zwork.pl does not exists on the maching the rsh is calling and I need to note this error. I tried doing this: exec "rsh $plant /u1/bin/forkit '/u1/bin/zwork.pl'" or excep("couldnt exec.") but it didn't work. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]