In this case, this can be done by using the multi-argument pipe-open
No, you can't. You took out the 2>&1, reintroducing the problem the OP was trying to solve. I'd use IPC::Open3 to redirect STDERR without involving the shell.
In reply to Re^5: How to capture error messages...
by ikegami
in thread How to capture error messages...
by fabster01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |