|
From: | Chet Ramey |
Subject: | Re: waiting for process substitutions |
Date: | Mon, 5 Aug 2024 09:54:21 -0400 |
User-agent: | Mozilla Thunderbird |
On 7/31/24 11:48 AM, Zachary Santer wrote:
On Fri, Jul 26, 2024 at 10:19 AM Chet Ramey <chet.ramey@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?
Yes, it will wait for the next job or procsub to terminate. -- ``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/
OpenPGP_signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |