Hi TJCooper,
Sounds like you are Suffering from Buffering. In your Perl script, turn on autoflush via $|=1;.
Hope this helps,
-- Hauke D
In reply to Re: Printing to STDOUT buffered when invoking Perl within a bash-script using tee
by haukex
in thread Printing to STDOUT buffered when invoking Perl within a bash-script using tee
by TJCooper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |