Re: [dev] [st] [PATCH] Fix sigchld
On April 27, 2015 11:23:52 AM CEST, Jochen Sprickerhof <dwm_AT_jochen.sprickerhof.de> wrote:
>Hi Roberto,
>
>* Roberto E. Vargas Caballero <k0ga_AT_shike2.com> [2015-04-27 10:42]:
>> I don't understand this patch. The master process only has one child,
>> the shell, so you only can wait for it. If you receives the signal is
>> because the child already died, so I don't see the point of adding
>> WNOHANG. Can you explain a bit better what you want to do?
>
>I'm spawning other process from st (dmenu and surf for urlview).
>Without
>checking the pid, st stops working if some other child finishes.
>Without
>WNOHANG it would hang as well.
>
>Cheers Jochen
Weird, I thought the shell would catch those sigchlds. Do you exec by Amy chance?
Received on Mon Apr 27 2015 - 11:25:59 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 27 2015 - 11:36:12 CEST