2010/3/8 Pádraig Brady<address@hidden>:
An alternative would be to add a new --kill-wait option
which could be used to specify an additional timeout before a KILL was sent
That would be a general mechanism to terminate "normally" after the timeout
or when SIGTERM etc. is sent, but then always setup another timeout
to send SIGKILL if the monitored command does not exit.
An other alternative is to add a new --term-signal option that could
be used to tell what signal the user want forwarded if the timeout
command gets a TERM. Then I could use the command like this:
timeout --signal=KILL --term-signal=KILL 1h ./my_program