but a lot depends on whether 'command' buffers its output, among other variables. You should probably read perldoc perlipc for more insight.open SYS, "command |" or die "$!"; while (<SYS>) { print } close SYS;
In reply to Re: print output from system command in real time
by moot
in thread print output from system command in real time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |