in reply to Sending STDERR to a filehandle
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 |");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sending STDERR to a filehandle
by bobn (Chaplain) on Jun 10, 2003 at 17:08 UTC |