RE: still not catching error

2002-02-02 Thread Bob Showalter
> -Original Message- > From: Roger C Haslock [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 02, 2002 5:43 AM > To: Bob Showalter; 'Alex Harris'; [EMAIL PROTECTED] > Subject: Re: still not catching error > > > You are testing the exit status o

Re: still not catching error

2002-02-02 Thread Roger C Haslock
t;[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 9:50 PM Subject: RE: still not catching error > > -Original Message- > > From: Alex Harris [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 01, 2002 11:52 AM > > To: [EMAIL PRO

RE: still not catching error

2002-02-01 Thread Bob Showalter
> -Original Message- > From: Alex Harris [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 01, 2002 11:52 AM > To: [EMAIL PROTECTED] > Subject: still not catching error > > > I took out the exec and placed system. But even though > work.pl doesn't > exist on the remote system, still

RE: still not catching error

2002-02-01 Thread John Edwards
Try $result = `rsh $plant /u1/bin/forkit '/u1/bin/work.pl'`; print $result; You are storing the output of the rsh... command into the variable. You can now run a regex on that to check for success/failure. I don't know what the output should be but as an example... $result = `rsh $plant /u1/b