>> yes, I wondered about that. but there's probably a way to redirect and
>> capture STDERR. I forget what the code is, though.
> 
> $retcode = `$command 2>&1`
> 
> or perhaps better,
> 
> eval "$command 2>&1";
> if( $@ ) {
>     ...
> }


Sorry, ignore that eval part -- we're talking system commands here not 
Perl commands. The best approach is this:


  $retcode = `$command 2>&1`

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to