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

From: Jochen Sprickerhof <dwm_AT_jochen.sprickerhof.de>
Date: Mon, 27 Apr 2015 21:01:01 +0200

* koneu <koneu93_AT_googlemail.com> [2015-04-27 11:42]:
> waitpid and WNOHANG is not the way to go though. Use wait

Why? wait is just convenience for waitpid. Also, it didn't work for me.
Can you send a patch if you think there is a better way to do it?

> and check the pid against the shell's to decide whether to quit st.

I do that, please read my patch.

Received on Mon Apr 27 2015 - 21:01:01 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 27 2015 - 21:12:08 CEST