more useful options | |
PerlMonks |
Re: How to kill a process after calling fork?by chromatic (Archbishop) |
on Jun 20, 2000 at 05:56 UTC ( [id://18930]=note: print w/replies, xml ) | Need Help?? |
In the parent, if the fork call succeeds, $pid will contain the process ID of the child. You can then use the kill command to send any sort of signal to it (as you know the PID).
Something along those lines will suffice.
In Section
Seekers of Perl Wisdom
|
|