[Linux-disciples] perl parent vs. child vs. process group --
killing
Dylan Thurston
dpt at lotus.bostoncoop.net
Tue Aug 10 14:15:30 EDT 2004
On Tue, Aug 10, 2004 at 10:14:53AM -0400, Adam Rosi-Kessel wrote:
> The above code no longer works; apparently the process group is connected
> to the parent and not the child. killing getppid() doesn't work in this
> case, though, because the $SIG{HUP} = 'IGNORE' doesn't apply to the
> parent.
Can you set the process group ID? There's a handy system call setpgid
which is presumably what the shell at an interactive prompt does for
you.
Only vaguely understanding what's going on,
Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040810/9630b674/attachment.pgp
More information about the Linux-disciples
mailing list