in reply to Re^2: How to check a executable's status while running it.
in thread How to check a executable's status while running it.
Or, ikegami has a list of number of good modules that do similar things.open( CMD, "$command |" ) or die "Cannot open $command: $!\n"; while ( defined( my $line = <CMD> ) ) { # Do stuff with $line which is the output from $command } close CMD;
|
|---|