[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70219: Bug/Issue with timeout and signals
From: |
Andreas Schwab |
Subject: |
bug#70219: Bug/Issue with timeout and signals |
Date: |
Sat, 06 Apr 2024 11:06:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Apr 05 2024, "Branden R. Williams" via GNU coreutils Bug Reports wrote:
> That’s not an accurate representation of what the command actually does. The
> argument after -k MUST be the kill signal code, without the code the command
> fails. The manpage and help document agree with what you are saying but the
> execution of the program fails.
$ timeout -k USR1 1s sleep 10
timeout: invalid time interval ‘USR1’
Try 'timeout --help' for more information.
$ timeout -s KILL 1s sleep 10
Killed
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."