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
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
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
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