[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
case of printf >fifo hang in int trap
From: |
Alex fxmbsw7 Ratchev |
Subject: |
case of printf >fifo hang in int trap |
Date: |
Sun, 13 Feb 2022 19:33:48 +0100 |
it hangs, further control-c dont take action, control-z maybe in scripts in
interactive not
so i have, mkfifo fifo ; trap 'printf nowork>fifo' int, it hangs on it, in
interactive the whole even makes all three key combos i know nowork,
control c and z and \
test:
mkfifo ${a:=/tmp/afifo}
trap 'printf hang >$a' int
first control-c is run, the rest is hanging, displaying ^C and ^\ and ^Z
but nothing happens
is this wanted behavior ?
- case of printf >fifo hang in int trap,
Alex fxmbsw7 Ratchev <=