bug-bash
[Top][All Lists]
Advanced

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

Re: Trap in command substitution breaks parent


From: Chet Ramey
Subject: Re: Trap in command substitution breaks parent
Date: Sun, 19 Apr 2020 12:37:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 4/17/20 5:31 AM, DALECKI Léo wrote:

> Bash Version: 4.4
> Patch Level: 20
> Release Status: release
> 
> Description:
>     A trap set with an external call in a command substitution seems to
> break the parent Bash shell.

Thanks for the report. This is a race condition -- the parent shell handles
the SIGINT before it should. This will be fixed in the next devel branch
push.

Chet

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