On 3/28/18 10:02 AM, wer...@suse.de wrote:

> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
> 
> Description:
>       A user reports a problem with example code included. By using the
>       the code shown below and doing Ctrl-C twice the code hangs within
>       a SIGINT loop if /bin/echo is used instead of builtin echo command.

Thanks for the report. The problem is indeed in the combination of a non-
interactive shell, a trap handler for SIGINT, an external process in the
trap handler, and a SIGINT within the trap after the external process runs.
I'll fix it.

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://tiswww.cwru.edu/~chet/

Reply via email to