The briefest way to do that is something like:
$SIG{INT} = sub { die };
In reply to Re: How can I kill subprocesses when the main script dies?
by merlyn
in thread How can I kill subprocesses when the main script dies?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |