in reply to print output from system command in real time
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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: print output from system command in real time
by boat73 (Scribe) on May 10, 2005 at 18:53 UTC | |
by Joost (Canon) on May 10, 2005 at 18:57 UTC | |
by boat73 (Scribe) on May 11, 2005 at 12:08 UTC |