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
In reply to Re^4: Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
by OfficeLinebacker
in thread Prepending a string to STDERR output, and logging STDOUT & STDERR synchronously to a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |