--- Begin Message ---
Subject: |
Preserve command exit code in timeout(3) |
Date: |
Sun, 30 May 2010 02:15:20 +0200 |
User-agent: |
Thunderbird |
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
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6308: Preserve command exit code in timeout(3) |
Date: |
Sun, 04 Nov 2012 01:56:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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
Description: Text Data
--- End Message ---