[Top][All Lists]

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

Re: process substitution and wait()

From: Chet Ramey
Subject: Re: process substitution and wait()
Date: Sat, 13 Apr 2019 14:03:22 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/12/19 4:28 PM, Daniel Kahn Gillmor wrote:

> None of the other bourne-derived shells that i have tried have a builtin
> wait that waits on child processes that they didn't directly create.
> It's odd that bash 5.0 does this.  I don't have any objection to the
> wait builtin waiting on coprocesses or on process substitutions that it
> knows about.

It's an easy change. See the attachment.

I agree that the negative side effects outweigh the requests to have the
shell `fully clean up after itself'.

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

Attachment: wait-background-pids.patch
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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