boom has asked for the wisdom of the Perl Monks concerning the following question:
If I have this perl app:
print `someshellscript.sh`;that prints bunch of stuff and takes a long time to complete, how can I print that output in the middle of execution of the shell script? Looks like Perl will only print the someshellscript.sh result when it completes, is there a way to make output flush in the middle of execution?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to flush output in backticks In Perl?
by Bloodnok (Vicar) on Apr 18, 2009 at 12:51 UTC | |
|
Re: How to flush output in backticks In Perl?
by graff (Chancellor) on Apr 19, 2009 at 04:50 UTC | |
|
Re: How to flush output in backticks In Perl?
by Anonymous Monk on Apr 18, 2009 at 11:38 UTC |