Re: STDOUT from system call

2002-01-20 Thread John W. Krahn
Craig Inman wrote: > > No, I'm not trying to capture the output of any of these. 'zowner' tells who the > file belongs to, if it fails, it will not return any output. I have tried using > > if (system ("zowner $claims[0]") != 1) > then claimsubmit the file > > but for some reason the 'zowne

Re: STDOUT from system call

2002-01-20 Thread Roger C Haslock
L PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, January 20, 2002 2:44 PM Subject: Re: STDOUT from system call > No, I'm not trying to capture the output of any of these. 'zowner' tells who the > file belongs to, if it fails, it will not return any output. I ha

Re: STDOUT from system call

2002-01-20 Thread Craig Inman
No, I'm not trying to capture the output of any of these. 'zowner' tells who the file belongs to, if it fails, it will not return any output. I have tried using if (system ("zowner $claims[0]") != 1) then claimsubmit the file but for some reason the 'zowner' program does not consistently ret

Re: STDOUT from system call

2002-01-19 Thread John W. Krahn
Craig Inman wrote: > > Trying to get this script to 'claimsubmit' ONLY if the system call > returns STDOUT, but I'm having a little trouble getting my script to > verify that and act accordingly. Do you mean you want to capture the output from claimsubmit? Use back-quotes (``) or qx//. > open