./test: line 17: wait_for: No record of process 22659
but if I use 'read' without timing or with a very long time ( -t10 ) the error does not raise.
------- #!/bin/bash trap trapfunc SIGWINCH trapfunc () { for i in {1..1000}; do tput cup 0 0 echo OK done } clear echo maximize your window while true; do read -sn1 -t1 done ------