Skip to content
Prev 162672 / 398503 Next

capturing stderr/stdout

I am not sure what the issue is here. Do you want to capture both stderr 
and stdout (use 2>1 in the command with an sh-like shell), or is the
problem that you don't get immediate output?

The latter is a Perl issue: you need to circumvent output buffering.
See e.g

http://perl.plover.com/FAQs/Buffering.html
Sundar Dorai-Raj wrote: