in reply to Re^5: Stop Command In Perl
in thread Stop Command In Perl
Doesn't look like a buffering issue, more of a kill portability one.perl -e "$pid = open PIPE, '-|', 'echo one && ping -n 5 127.0.0.1 >nul + && echo two';$/=' '; while (<PIPE>){ print $_ . \"\n\"; kill 2, $pid +}"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Stop Command In Perl
by mbethke (Hermit) on Jul 13, 2012 at 21:50 UTC |