in reply to Re^3: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
in thread Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
ALMOST works, but some lagging STDERR comes out at the end.run (\@cmd, '>pty>', new_chunker(), sub{ print "STDOUT: $_[0]";}, '2>' +, new_chunker(), sub { print "STDERR: $_[0]";});
_________________________________________________________________________________
Without me, it's just aweso
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
by OfficeLinebacker (Chaplain) on May 19, 2006 at 21:32 UTC |