The stupid question is the question not asked | |
PerlMonks |
Re^3: Stop Command In Perlby mbethke (Hermit) |
on Jul 12, 2012 at 17:58 UTC ( [id://981458]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|