Re: [dev] [st] [PATCH] Fix sigchld

From: Jochen Sprickerhof <dwm_AT_jochen.sprickerhof.de>
Date: Mon, 27 Apr 2015 11:23:52 +0200

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

Received on Mon Apr 27 2015 - 11:23:52 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 27 2015 - 11:36:06 CEST