[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: waiting for process substitutions
From: |
alex xmb sw ratchev |
Subject: |
Re: waiting for process substitutions |
Date: |
Tue, 6 Aug 2024 14:19:13 +0200 |
On Tue, Aug 6, 2024, 13:59 Zachary Santer <zsanter@gmail.com> wrote:
> On Tue, Aug 6, 2024 at 1:19 AM Oğuz <oguzismailuysal@gmail.com> wrote:
> >
> > The benefit is they're separate from async jobs and don't get in your
> way. `wait' waiting for the last procsub is acceptable, `wait' waiting for
> a procsub that I forgot about and that won't be listed by `jobs' is not.
>
> I can not think of a time when I called 'wait' from the command line
> that wasn't just for testing something. Even using process
> substitutions on the command line is a relative rarity for me. If
> we're balancing behavior on the command line against behavior in a
> script, I think I'd give priority to scripting, at least here.
>
> Chet doesn't see much value in making process substitutions jobs,
> which I guess is fine. Can we agree that if they were made jobs,
> though, waiting for all of them would be acceptable? You could see
> them listed and handle them however you need.
>
> > Procsubs occupying one slot in the shell's internal list of job statuses
> is acceptable, them filling up that list and causing data loss/oom errors
> is not.
>
> Bash is evidently already tracking all the procsub pids in their own
> list, which now is always cleared when you call 'wait' without
> arguments.
>
where can i find this list
>
- Re: waiting for process substitutions, Chet Ramey, 2024/08/05
- Re: waiting for process substitutions, Zachary Santer, 2024/08/05
- Re: waiting for process substitutions, Chet Ramey, 2024/08/05
- Re: waiting for process substitutions, Zachary Santer, 2024/08/05
- Re: waiting for process substitutions, Oğuz, 2024/08/06
- Re: waiting for process substitutions, alex xmb sw ratchev, 2024/08/06
- Re: waiting for process substitutions, Zachary Santer, 2024/08/06
- Re: waiting for process substitutions,
alex xmb sw ratchev <=
- Re: waiting for process substitutions, Oğuz, 2024/08/06
- Re: waiting for process substitutions, Zachary Santer, 2024/08/06
- Re: waiting for process substitutions, Oğuz, 2024/08/06
- Re: waiting for process substitutions, Zachary Santer, 2024/08/06
- Re: waiting for process substitutions, Oğuz, 2024/08/06
- Re: waiting for process substitutions, Zachary Santer, 2024/08/06
- Re: waiting for process substitutions, Chet Ramey, 2024/08/07
- Re: waiting for process substitutions, Zachary Santer, 2024/08/07