bug-coreutils
[Top][All Lists]
Advanced

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

Re: What signal should timeout send when it gets a SIGTERM?


From: Pádraig Brady
Subject: Re: What signal should timeout send when it gets a SIGTERM?
Date: Tue, 16 Mar 2010 00:18:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

I've added a --kill-delay option in the attached,
so you should get the operation you require like:

  timeout -k1 1h command

That gives a 1 second grace period after a TERM signal is sent
(either from the timer or from explicitly terminating the timeout command)
before the command is killed.

cheers,
Pádraig.

Attachment: timeout-kill-delay.diff
Description: Text Data


reply via email to

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