Popen(): ignore SIGINT if n_CHILD_FD_PASS..
commit48375da1cdc6e6f823ef92a3f8b2cf389ddf34ce
authorSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Mon, 3 Apr 2017 12:40:02 +0000 (3 14:40 +0200)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Thu, 13 Apr 2017 21:07:02 +0000 (13 23:07 +0200)
tree5fe51887d4e3ecf4eb7aaf7eaa2c8d67b2295cfc
parent66b8ff171896fc808f812b13a64beaf8752e8016
Popen(): ignore SIGINT if n_CHILD_FD_PASS..

Ooh, we yet did only do so for n_child_run(), but not for
normal Popen()..Pclose().  Fix a possible leak while here.

P.S.:
this is all terrible -_-
We need to track once the first command is started with takes over
the terminal, and restore once the last such is finalized.
Process groups etc., like in TODO (or my brain) since years, and
YEARS to come
popen.c