On 1/31/15 8:13 PM, Jason Vas Dias wrote: > Dear bash developers - > > It is very difficult to overcome the problems caused by > the scenario described within this email without something the > enclosed "setpgrp <pid> <pgrp>" and "killpg <pgrp> <sig>" > bash loadable builtins .
I haven't looked at the setpgrp builtin yet, but the kill builtin already allows you to kill process groups by providing a `pid' argument that's less than -1. It's done this since at least bash-3.0. This just reflects how kill(2) treats its pid argument. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/