GNU bug report logs - #21760
timeout: Feature Request: --verbose ==> output if timeout was reached

Previous Next

Package: coreutils;

Reported by: Thomas Güttler <guettliml <at> thomas-guettler.de>

Date: Mon, 26 Oct 2015 10:31:02 UTC

Severity: wishlist

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>, Thomas Güttler <guettliml <at> thomas-guettler.de>, 21760 <at> debbugs.gnu.org
Subject: bug#21760: timeout: Feature Request: --verbose ==> output if timeout was reached
Date: Wed, 28 Oct 2015 15:10:33 +0100
On 10/28/2015 11:00 AM, Pádraig Brady wrote:
> Reopened until someone else votes.

I'm 50:50 regarding the usefulness of --verbose.
Writing "killed PRG after N seconds elapsed" sounds like a useful
message, yet I'm afraid that then other requests may follow soon
which may really bloat the code, e.g.

  $ timeout --verbose 10 sleep 5
  timeout: child process terminated after 5.012 seconds.

As it's easy to have a wrapper for the original request, I'd rather
not add it.

BTW: timeout shares stdout/stderr with its child; therefore,
wouldn't the interleaved output be problematic?

Have a nice day,
Berny






This bug report was last modified 7 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.