bug-bash
[Top][All Lists]
Advanced

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

Re: 'wait -n' with and without id arguments


From: Chet Ramey
Subject: Re: 'wait -n' with and without id arguments
Date: Wed, 14 Aug 2024 15:24:22 -0400
User-agent: Mozilla Thunderbird

On 8/9/24 9:29 PM, Zachary Santer wrote:
On Fri, Aug 9, 2024 at 10:38 AM Chet Ramey <chet.ramey@case.edu> wrote:

When I source your script on macOS with the current devel build, I get the
set of notification messages and termination with a false argument, and an
infinite loop with a true argument.

So basically, 'wait -n' should be implemented such that sourcing the
script with a false argument gives the same behavior as you've seen
when sourcing it with a true argument: the infinite loop.

How long should notification be deferred? Until the script completes?
Because notification in an interactive shell is the core of what we're
talking about here.

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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