Trap test

This commit is contained in:
mathiascode 2019-09-21 16:56:10 +03:00
parent 8ba2c6807c
commit 2886e9f225

View file

@ -15,7 +15,7 @@ while true; do
tmux new -d -s server 'sh -x script/server' >/dev/null
tmux new -d -s remote 'sh -x script/remote' >/dev/null
tmux new -d -s schematics 'sh -x script/schematics' >/dev/null
stty intr '' && ttyd -p $PORT tmux attach -t server
trap 'trap' SIGINT && ttyd -p $PORT tmux attach -t server
sleep 5
done &