bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [contrib]: setpgrp + killpg builtins


From: Chet Ramey
Subject: Re: [contrib]: setpgrp + killpg builtins
Date: Tue, 03 Feb 2015 10:42:27 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]