will send a signal to the master process and all its children.kill -1, $master_pid;
To restart the parent you can use a signal handler:
$SIG{HUP} = sub { exec @restart_args if $$ == $master_pid; exit };
In reply to Re: Restart Forked Script
by salva
in thread Restart Forked Script
by avo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |