On 5/2/17 9:07 PM, Luiz Angelo Daros de Luca wrote:
> Hi Chet,
> 
> Is there any news on this? I noticed that Bash-4.4 patch 11 do touches
> something related to
> signals, subshell and command substitution but I still get the same
> behavior on 4.4.12(1)-release (x86_64-suse-linux-gnu)
> 
> I came up with a smaller script for this bug.
> 
> trap "sleep 2" USR1
> x=$(kill -USR1 $$; sleep 0.5; exit 2)
> echo "$BASHPID:err=$? (should be 2)" >&2

I get err=2 with the current devel branch source.

Chet


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

Reply via email to