Re: Subshell exit trap is not invoked if shell exit trap also set
From:
Dmitry Goncharov
Subject:
Re: Subshell exit trap is not invoked if shell exit trap also set
Date:
Tue, 26 Mar 2019 11:58:52 -0400
On Mon, Mar 25, 2019 at 6:24 PM Konstantin Andreev <andreev@swemel.ru> wrote:
> Verified on:
>
> Solaris 11.3, bash 4.1.17(1)-release (i386-pc-solaris2.11)
> CentOS Linux 7.2.1511, bash 4.2.46(1)-release (x86_64-redhat-linux-gnu)
> CentOS Linux 7.2.1511, bash 5.0.0(1)-release (x86_64-pc-linux-gnu)
Double check that this reproduces with bash-5.
I was able to reproduce this with bash-4.2 and earlier. This does not
reproduce for me with bash-4.4 and later.
regards, Dmitry