Email List: Xaustin-group-lX
[All Lists]

RE: RE: RE: Re: set -e and SIGCHLD

To: yyyyyyyyyyyyyyy@xxxxxx, yyy@xxxxxxxxxxx
Subject: RE: RE: RE: Re: set -e and SIGCHLD
From: yyyyyyyyyyyyyyy@xxxxxx
Date: Wed, 14 Mar 2001 01:21:43 +0100 (MET)
Cc: yyyyyyyyyyyyyy@xxxxxxxxxxxxx, yyyyy@xxxxxxxxxxxxxxxxxxx
>> It is perfectly possible to have a handler for SIGCHLD.

> ... but not one that can survive exec().

No. But if you are the programmer who sets the action for
SIGCHLD to SIG_IGN, disregarding the POSIX warnings, then
you are responsible for what the program does. One way of
making everybody happy would be to set the action for
SIGCHLD back to SIG_DFL after the fork but before the exec
of any child.

Andries

<Prev in Thread] Current Thread [Next in Thread>