On Fri, 9 Mar 2001, William Martin wrote:
> maybe you could capture the output with backticks instead of system():
>
> $retcode = `$command`;
>
> and parse $retcode for different responses, so your script can then behave
> accordingly. of course, you would need to know what the responses are ahead
> of time.
>
Even that wouldn't work because the warning messages are sent to standard
error not standard output.
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"Your account can only be used for a single internet session at any one
time and for no more than 24 hours in any one day." (NTL terms of use)
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------