in reply to Calling another script from Perl/Tk
As long as your script output is line-based, you can useopen SCRIPT, "<code-to-execute> |" or die "script failed: $!";
to read lines as they are printed (as long as you set $| to 1 inside the script you are calling).<SCRIPT>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calling another script from Perl/Tk
by ravishi (Acolyte) on Oct 22, 2008 at 20:27 UTC | |
by Illuminatus (Curate) on Oct 22, 2008 at 20:35 UTC |