my $cmd = q(perl -e 'die'); my $pid = open(ERROR, "$cmd 2>&1 1>/dev/null |"); print "$pid\n"; while (<ERROR>) { print "ERROR: $_\n"; }
In reply to Re: Re: Re: Sending STDERR to a filehandle
by Mr. Muskrat
in thread Sending STDERR to a filehandle
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |