[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: waiting for process substitutions
From: |
Zachary Santer |
Subject: |
Re: waiting for process substitutions |
Date: |
Sat, 20 Jul 2024 10:47:09 -0400 |
On Thu, Jul 18, 2024 at 5:02 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
> It's not in the set of changes to `wait -n' I just pushed, but it will be
> in the next push.
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: msys
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: MSYS_NT-10.0-19045 Zack2021HPPavilion
3.5.3-d8b21b8c.x86_64 2024-07-09 18:03 UTC x86_64 Msys
Machine Type: x86_64-pc-msys
Bash Version: 5.3
Patch Level: 0
Release Status: alpha
Description:
I was going to say, it looks like 'wait -n' just couldn't wait for
procsubs at all.
Repeat-By:
./procsub-wait-n false false
./procsub-wait-n true false
./procsub-wait-n false true
./procsub-wait-n true true
I haven't figured out how to build the devel branch in MSYS2 MSYS.
Judging by your commit message:
> job control cleanups; wait -n can return terminated jobs if supplied pid
> arguments; wait -n can wait for process substitutions if supplied pid
> arguments
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.
procsub-wait-n
Description: Binary data
- Re: waiting for process substitutions, (continued)
- Re: waiting for process substitutions, Dale R. Worley, 2024/07/04
- 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 <=
- Re: waiting for process substitutions, Chet Ramey, 2024/07/26
- 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