[Top][All Lists]

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

Re: wait inside subshell waits for sibling

From: Chet Ramey
Subject: Re: wait inside subshell waits for sibling
Date: Thu, 27 Oct 2022 15:52:46 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0

On 10/23/22 3:47 AM, Oğuz İsmail Uysal wrote:
To reproduce:

    $ echo $BASH_VERSION
    $ ( : & wait ) > >(cat)

It should return immediately, but hangs instead.

Yep, this is a problem. I'll have a fix in the next devel branch push.

``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]