to$pid = open(ERROR, "$cmd 2>&1 1>/dev/null |");
I know that in Unix, putting them the wrong way around causes the same symptoms you are talking about.$pid = open(ERROR, "$cmd 1>/dev/null 2>&1 |");
In reply to Re: Sending STDERR to a filehandle
by ozone
in thread Sending STDERR to a filehandle
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |