On Fri, Jul 26, 2024 at 10:19 AM Chet Ramey <chet.ra...@case.edu> wrote: > > You could have looked at the actual commit, which contains the change log, > which says > > - wait_for_any_job: check for any terminated procsubs as well as any > terminated background jobs > > wait_for_any_job is the function that backs `wait -n' without arguments.
Thanks for the clarification. $ wait -n > >( cat ) would hang, in the event that there are no other un-waited-for child processes, right? > Right now the code that restricts it to the last procsub is commented out. So you've thought of that?