[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inconsistent $? after &
From: |
Chet Ramey |
Subject: |
Re: inconsistent $? after & |
Date: |
Fri, 13 Dec 2013 23:04:55 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
On 12/12/13, 7:00 PM, Martin Kealey wrote:
> Bash Version: 4.2
> Patch Level: 25
> Release Status: release
>
> Description:
> The value of $? after starting a backgrounded command is
> inconsistent:
> $? is unchanged after starting a sufficiently complex command, but
> after starting a simpler command it is set to 0.
Thanks for the report. The exit status of any asynchronous command is 0.
I will fix this for bash-4.3-release.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/