sigint-4.sh
bash/tests/misc/sigint-4.sh · 14 line(s) · bash
trap 'echo sigint' 2
sleep 5 &
sleep 5 &
sleep 5 &
echo wait 1
wait
echo wait 2
wait
exit
bash/tests/misc/sigint-4.sh · 14 line(s) · bash
trap 'echo sigint' 2
sleep 5 &
sleep 5 &
sleep 5 &
echo wait 1
wait
echo wait 2
wait
exit