[1] 36 hello [1]+ Done { mkfifo fifo; trap 'echo hello' EXIT; exit; read -t 2 < <(cat -- fifo); } bash: kill: (36) - No such process