tag 51128 notabug close 51128 stop On 11/10/2021 02:28, Christoph Anton Mitterer wrote:
Hey.The timeout(1) manpage says: -k, --kill-after=DURATION also send a KILL signal if COMMAND is still running this long after the initial signal was sent My naive assumption would have been that --kill-after=0 means that a signal is sent immediately after the original one.
Well that wouldn't be that useful functionality, as why not just send a single kill signal in that case.
However, that doesn't seem to be the case. If intended, this should perhaps at least be mentioned in the manpage :-)
It is intended that a 0 duration disables that timeout. It is mentioned in the full documentation at: https://www.gnu.org/software/coreutils/timeout The man pages don't try to document every nuance. cheers, Pádraig.
