Hi all,
I am running some system commands using the line:
[tt]@input = `$command`;[/tt]
and it returns the output. When I enter something wrong however, like:
[tt]la -la /u/web/[/tt]
the array @input is empty, not containing any error message that the system might have thrown up. Is there any way to trap these?
Thanks.
[sig]<p>fortytwo<br><a href=mailto:will@hellacool.co.uk>will@hellacool.co.uk</a><br><a href= test site</a><br> [/sig]
I am running some system commands using the line:
[tt]@input = `$command`;[/tt]
and it returns the output. When I enter something wrong however, like:
[tt]la -la /u/web/[/tt]
the array @input is empty, not containing any error message that the system might have thrown up. Is there any way to trap these?
Thanks.
[sig]<p>fortytwo<br><a href=mailto:will@hellacool.co.uk>will@hellacool.co.uk</a><br><a href= test site</a><br> [/sig]