bug-coreutils
[Top][All Lists]
Advanced

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

bug#8938: make timeout and CTRL-C


From: Pádraig Brady
Subject: bug#8938: make timeout and CTRL-C
Date: Wed, 06 Jul 2011 23:37:18 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 28/06/11 19:45, Paul Eggert wrote:
> On 06/28/11 11:41, Pádraig Brady wrote:
>> The main problem with that is would only
>> send the signal to the first process, and
>> any processes it started would keep running.
> 
> Yes, that's the main issue with it.  Still,
> it's handy for programs where you either know
> it doesn't use subprocesses, or you *want* to
> kill just the main program and not its subprocesses.
> 
> I don't think it should be the default option,
> but it'd be nice to have it as an option.

OK I've added --foreground to support this.
Note it still maintains a separate timeout
monitor process to return 124 on timeout etc.

cheers,
Pádraig.

Attachment: timeout--foreground.diff
Description: Text Data


reply via email to

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