bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 5.0 regression: Script stuck when waiting in trap


From: Chet Ramey
Subject: Re: 5.0 regression: Script stuck when waiting in trap
Date: Thu, 6 Jun 2019 16:54:43 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/6/19 4:50 PM, Chet Ramey wrote:
> On 6/6/19 9:12 AM, Robert Elz wrote:
> 
>> Whether bash works that way with processes created for process substitutions
>> (which are a non-standard thing to do) I don't know however.
> 
> The shell doesn't really have to remember them at all -- ksh93 doesn't, for
> instance -- but bash remembers the last one, since it sets $!.

And I just checked, and, in bash-5.0, wait without arguments attempts to
wait for the rest of the process substitutions after waiting for the last
one. My bad, I thought I put that in after bash-5.0 was released, but
it's there.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]