[1] 34 cat: fifo: No such file or directory hello [1]+ Exit 1 { trap 'echo hello' EXIT; read -t 2 < <(cat -- fifo); } bash: kill: %1: no such job