[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: waiting for process substitutions
From: |
Chet Ramey |
Subject: |
Re: waiting for process substitutions |
Date: |
Fri, 26 Jul 2024 10:19:45 -0400 |
User-agent: |
Mozilla Thunderbird |
On 7/20/24 10:47 AM, Zachary Santer wrote:
I feel like that's most of the way there. I would argue 'wait -n'
without arguments should include the "last-executed process
substitution, if its process id is the same as $!," in the set of
running child processes it'll wait for, at least. Just for the sake of
consistency with 'wait' without arguments.
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.
Right now the code that restricts it to the last procsub is commented out.
--
``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
- Re: waiting for process substitutions, (continued)
- Re: waiting for process substitutions, Chet Ramey, 2024/07/05
- Re: waiting for process substitutions, Zachary Santer, 2024/07/09
- Re: waiting for process substitutions, Zachary Santer, 2024/07/09
- Re: waiting for process substitutions, Zachary Santer, 2024/07/14
- Re: waiting for process substitutions, Chet Ramey, 2024/07/18
- 'wait -n' with and without id arguments, Zachary Santer, 2024/07/20
- Re: 'wait -n' with and without id arguments, Chet Ramey, 2024/07/26
- Re: 'wait -n' with and without id arguments, Zachary Santer, 2024/07/31
- Re: waiting for process substitutions, Chet Ramey, 2024/07/18
- Re: waiting for process substitutions, Zachary Santer, 2024/07/20
- Re: waiting for process substitutions,
Chet Ramey <=
- Re: waiting for process substitutions, Zachary Santer, 2024/07/31
- Re: waiting for process substitutions, Chet Ramey, 2024/07/12
- Re: waiting for process substitutions, Robert Elz, 2024/07/12
- Re: waiting for process substitutions, Greg Wooledge, 2024/07/12
- Re: waiting for process substitutions, Oğuz, 2024/07/13