On April 27, 2015 11:23:52 AM CEST, Jochen Sprickerhof <d...@jochen.sprickerhof.de> wrote: >Hi Roberto, > >* Roberto E. Vargas Caballero <k...@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?