bug-bash
[Top][All Lists]
Advanced

[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: Mon, 8 Jul 2024 22:02:36 +0200

On Mon, Jul 8, 2024, 21:55 Chet Ramey <chet.ramey@case.edu> wrote:

> On 7/8/24 3:27 PM, Dale R. Worley wrote:
> > Greg Wooledge <greg@wooledge.org> writes:
> >> Some scripts use something like this:
> >> ...
> >>      exec > >(command ...) ...
> >
> > I've used that construction quite a few times myself.  I'm not
> > requesting that the resulting process be waitable, but certainly
> > whatever the maintainers design should take into account that this is an
> > important construction for practical purposes.
>
> This isn't going to change; you could already wait for that pid, since
> it sets $!.
>

hi , one question about ..
if a cmd contains more substitions like >( or <( , how to get all $!
maybe make ${![<cmdnum>]} , or is such already .. ?

greets

-- 
> ``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/
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]