Subject: Re: keep forked children when father dies
To: Joel CARNAT <>
From: Thomas Klausner <>
List: tech-pkg
Date: 03/24/2004 23:26:21
On Wed, Mar 24, 2004 at 07:42:25PM +0100, Joel CARNAT wrote:
> When it launches an apps (say XTerm), it forks.
> But If I Ctrl-C suxpanel, then all the forked apps die too...

Take a look at setsid(2), I think that'll help.
The CTRL-C is probably sent to the whole process group.