Re: Trap in command substitution breaks parent

2020-04-19 Thread Chet Ramey
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 han

Trap in command substitution breaks parent

2020-04-17 Thread DALECKI Léo
Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.