Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Synchronizing STDERR and STDOUTby nothingmuch (Priest) |
on Sep 21, 2006 at 11:10 UTC ( [id://574100]=note: print w/replies, xml ) | Need Help?? |
You can split the fork and the exec up if open mashes them together too much.
This is precisely the type of plumbing that a shell will do when you say 2>&1, except without the unportable syntax ;-) That said, IPC::Run and friends already abstract all of this out, so there's no need to reinvent the wheel.
-nuffin zz zZ Z Z #!perl
In Section
Seekers of Perl Wisdom
|
|