Re: trap ... INT when exec

2015-10-19 Thread Chet Ramey
On 10/19/15 6:06 AM, Basin Ilya wrote: > Hi list. > An attempt to open a named pipe created with mkfifo cannot be > interrupted with SIGINT, if trap ... INT installed. This was fixed back in January in the devel branch. I attached the minor patch. Chet -- ``The lyf so short, the craft so long

trap ... INT when exec

2015-10-19 Thread Basin Ilya
Hi list. An attempt to open a named pipe created with mkfifo cannot be interrupted with SIGINT, if trap ... INT installed. (reading from an opened fifo is interruptible and similar attempt to open a /dev/tcp socket is interruptible too) #!/bin/bash set -e function errtrap { es=$?