bug-bash
[Top][All Lists]
Advanced

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

Re: wait -n misses signaled subprocess


From: Chet Ramey
Subject: Re: wait -n misses signaled subprocess
Date: Tue, 30 Jan 2024 18:41:56 -0500
User-agent: Mozilla Thunderbird

On 1/30/24 4:28 PM, Chet Ramey wrote:

It's not a bug, bash has allowed multiple waits for the same pid for
decades. bash works the way posix says it should for wait (without -n)
in posix mode.

I think this is a bug in bash posix mode, actually. `wait -n' should
remove the job completely, since it's been `successfully waited for'
and the language you quoted came out of interp 1254 and will be in the
next revision.

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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