bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wait -n shouldn't collect multiple processes


From: Chet Ramey
Subject: Re: wait -n shouldn't collect multiple processes
Date: Mon, 25 Mar 2019 16:15:13 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.0

On 3/25/19 4:05 PM, Robert Elz wrote:
>     Date:        Mon, 25 Mar 2019 10:49:32 -0400
>     From:        Chet Ramey <address@hidden>
>     Message-ID:  <address@hidden>
> 
> Great to see that revised description of how it works, that makes
> much more sense.   I also should have tested it.
> 
>   | `wait -n' is only useful in scripts with job control enabled,
> 
> Why is that?   It should be useful in any script that has started multiple
> asynchronous jobs, job control (for this) should be irrelevant, I would
> have thought (what's more, so it seems to be).

It probably is, but I've really only tested it with job control enabled.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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