bug-bash
[Top][All Lists]
Advanced

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

Re: Wanted: bash enhancement... non-blocking 'wait'


From: Chet Ramey
Subject: Re: Wanted: bash enhancement... non-blocking 'wait'
Date: Fri, 03 Sep 2010 18:03:34 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2

On 9/2/10 6:44 PM, Philip Prindeville wrote:
>  I wanted to check in and see if there was a chance of this feature being
> accepted upstream before I spent any time on it...  so here goes.
> 
> The "wait [n]" command is handy, but would be even handier is:
> 
> wait [[-a] n]
> 
> instead, which asynchronously checks to see if process 'n' has completed.

I think `kill -0 n' is an acceptable solution.

Chet

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



reply via email to

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