![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: How to pass CTRL-C to child script onlyby lidden (Curate) |
on Aug 23, 2010 at 14:43 UTC ( #856721=note: print w/replies, xml ) | Need Help?? |
In script A do: $SIG{INT} = sub { kill 2, $pid_of_scriptB;}; Should work, not tested.
In Section
Seekers of Perl Wisdom
|
|