bug-bash
[Top][All Lists]
Advanced

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

Re: wait and procsubs


From: Chet Ramey
Subject: Re: wait and procsubs
Date: Tue, 11 Oct 2016 12:10:43 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 10/11/16 1:50 AM, isabella parakiss wrote:
> wait doesn't wait for procsubs unless it's passed the pid as an argument
> 
> $ time { : <(sleep 1); wait; }
> real: 0m0.002s, user: 0m0.000s, sys: 0m0.003s
> $ time { : <(sleep 1); wait $!; }
> real: 0m1.011s, user: 0m0.003s, sys: 0m0.007s
> 
> is this intended or is it a bug?

Thanks for the report.  I'll take a look.

Chet


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



reply via email to

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