i can't sure it is good answer =($stdout = $t->cmd("some_cmd 2> /tmp/error.tmp"); $stderr = $t->cmd("cat /tmp/error.tmp; rm /tmp/error.tmp");
In reply to Re: How do I capture shell error messages from a remote host?
by kiseok7
in thread How do I capture shell error messages from a remote host?
by jfw2112
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |