bug-bash
[Top][All Lists]
Advanced

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

Re: MacOS Homebrew bash '5.3.0(1)-release' breaks 'wait' (?)


From: Zachary Santer
Subject: Re: MacOS Homebrew bash '5.3.0(1)-release' breaks 'wait' (?)
Date: Mon, 14 Jul 2025 13:32:45 -0400

On Mon, Jul 14, 2025 at 11:50 AM Chet Ramey <chet.ramey@case.edu> wrote:
>
> The short story is that `wait -n' now returns the status of any process
> that's completed and hasn't been waited for yet, just like `wait'. It's
> not restricted to processes that terminates after it's invoked. It does
> this even when it's given a list of pid or job arguments, which is
> where the problem here arises. That's probably not what I intended with
> the change in the first place, but it was a fast-moving target.

I was a pretty big part of that discussion, and this looks broken to
me. If 'wait -n' is passed a list of pids, it shouldn't also be
waiting for other background processes that weren't passed to it as
arguments. Is that what you're saying it's doing?



reply via email to

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