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: Kim Hansen
Subject: Re: What signal should timeout send when it gets a SIGTERM?
Date: Sun, 21 Mar 2010 16:34:30 +0100

2010/3/16 Pádraig Brady <address@hidden>:
> 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.

I have had the time now to test this change, and it does solve my
problem in a really nice way.

Thanks a lot,
-- 
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Mobil: 3091 2437




reply via email to

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