GNU bug report logs - #6308
Preserve command exit code in timeout(3)

Previous Next

Package: coreutils;

Reported by: "Ángel González" <keisial <at> gmail.com>

Date: Sun, 30 May 2010 00:23:01 UTC

Severity: normal

Tags: moreinfo

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6308: closed (Preserve command exit code in timeout(3))
Date: Sun, 04 Nov 2012 02:00:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 04 Nov 2012 01:56:30 +0000
with message-id <5095CB4E.3000501 <at> draigBrady.com>
and subject line Re: bug#6308: Preserve command exit code in timeout(3)
has caused the debbugs.gnu.org bug report #6308,
regarding Preserve command exit code in timeout(3)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6308: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6308
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Ángel González" <keisial <at> gmail.com>
To: bug-coreutils <bug-coreutils <at> gnu.org>
Subject: Preserve command exit code in timeout(3)
Date: Sun, 30 May 2010 02:15:20 +0200
[Message part 3 (text/plain, inline)]
I wanted to keep the original exit status of the command run by
timeout(3), even after sending a timeout signal.
Thus I added a --exit-status parameter to it. Here it is in case you
find that useful, too.

[timeout-exit-status.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: Ángel González <keisial <at> gmail.com>,
	6308-done <at> debbugs.gnu.org, Thomas Krennwallner <tkren <at> kr.tuwien.ac.at>
Subject: Re: bug#6308: Preserve command exit code in timeout(3)
Date: Sun, 04 Nov 2012 01:56:30 +0000
[Message part 6 (text/plain, inline)]
On 10/29/2012 11:10 AM, Pádraig Brady wrote:
> On 10/29/2012 10:07 AM, Jim Meyering wrote:
>> These days, I prefer more expressive option names.  As long as a short
>> prefix is unique, length doesn't really matter.  Here, --p is enough.
>> However, --preserve-status seems ok, too.  There is precedent for
>> using "status" to mean "exit status" with md5sum's --status option.
>> Your call.
>
> I've a slight preference for --preserve-status so.

I'm pushing the attached so marking this done.

cheers,
Pádraig.
[timeout--preserve-status.diff (text/x-patch, attachment)]

This bug report was last modified 12 years and 204 days ago.

Previous Next


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