How can my Perl script detect when a child process (run with `system`) is killed?

后端 未结 0 1991
无人共我
无人共我 2021-02-02 05:01

My Perl script

while (blah)
{
    system ("wget $blah");
}

does not die when I ctrl-c. Instead the child process wget dies

相关标签:
回答
  • 消灭零回复
提交回复
热议问题