Just use symbolic names for signals and don't worry about numbers:
kill 'SIGTERM', getpgrp( $child_pid );
--
Ilya Martynov
(http://martynov.org/)
In reply to Re: Re: Killing a Forked Subprocess
by IlyaM
in thread Killing a Forked Subprocess
by Super Monkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |