Re: Killing all child processes upon parent exit



bsder <snort_sam@xxxxxxxxx> wrote in comp.lang.perl.misc:
> Hi,
>
> Could anyone please tell me how to kill all child processes when parent
> exit?

What's the problem? You have the PID, Perl has the kill() function.

Anno
--
If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
.



Relevant Pages

  • Re: assign background process to variable
    ... I know in shell scripting you can put a job in the background and get ... theN kill it. ... I cant seem to get it going in perl. ... kill 9, $pid; ...
    (comp.lang.perl.misc)
  • Re: Hp Technology forum (New Orleans sept 12-15)
    ... >>know how to shoot and kill, and they are more than willing to do so, and ... Well take it up with the governor, the mayor and the president who are ... believe a number went to the bottom of various waterways in the first ...
    (comp.os.vms)
  • Re: asks for usernm/passwd, wont let me log on
    ... My reply is at the bottom of your sent message: ... > after disk check ran, a strange blue screen flashed suddenly with ... Kill the existing password. ... You should be able to find the username. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: zuchinni dying
    ... Water from the bottom and spray liquid sevin on ... spray on your blooms or you will kill the good pollinators that are visiting ... Then you have to watch out for squash bugs. ...
    (rec.gardens.edible)
  • Re: This group doesnt seem to propagate to usenet monster at all.
    ... Kill away. ... It just does not make sense to put the new a the bottom. ... have to scroll through what you've already seen a dozen times to read the ... you only need to scroll IF you need a review. ...
    (rec.outdoors.rv-travel)