On 11/12/23 4:49 AM, Corto Beau via Bug reports for the GNU Bourne Again SHell wrote:

There's another reason the shell option is not a good idea though ; it tells Bash to set the PDEATHSIG flag on all direct children, but we might want to set the flag only for some specific children. Hence the "run_with_pdeathsig" builtin that sets it only for the child created to execute the command.

If target-specific features are an issue, I won't push that proposal any further.

I'd look at a loadable builtin for this. With that approach, you can be
as selective as you want, and extend it to children or mess around with
subreapers.

A loadable builtin is appropriate for a feature that only works on Linux.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to