in reply to Re^2: Stop Command In Perl
in thread Stop Command In Perl
It would send a SIGPIPE which may or may not stop the command. This stuff is rather system specific and I'm not sure if what's the default on Windows. Just try.
Otherwise if you really need a Ctrl-C to be sent: this form of open() returns the child's PID so you can use kill 2, $pid to send the signal.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Stop Command In Perl
by monsoon (Pilgrim) on Jul 12, 2012 at 18:40 UTC | |
by mbethke (Hermit) on Jul 12, 2012 at 22:21 UTC | |
by monsoon (Pilgrim) on Jul 13, 2012 at 05:17 UTC | |
by mbethke (Hermit) on Jul 13, 2012 at 21:50 UTC |