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

From: koneu <koneu93_AT_googlemail.com>
Date: Tue, 28 Apr 2015 05:05:01 +0200

Jochen Sprickerhof wrote:
> * 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.

Patch attached.
The whitespace change 2 lines later is intended to match st's style.

Received on Tue Apr 28 2015 - 05:05:01 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 28 2015 - 05:12:08 CEST