On 2017-05-10 19:26:10 +0700, Robert Elz wrote:
> You absolutely cannot program scripts with any expectation of
> receiving CHLD traps.

But wouldn't it be useful to have the list of terminated processes as
a new POSIX feature for shells? Something like what you mentioned at
the C level in another message:

|But for SIGCHLD, at C level, the general idea is that the handler waits
|with WNOHANG for as many processes as have exited (and retrieves status
|of each of them).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to