aboutsummaryrefslogtreecommitdiffstats
path: root/python/start.sh
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2021-04-26 14:44:57 -0500
committerMatt Strapp <strap012@umn.edu>2021-04-26 15:03:24 -0500
commit8774432f5b7e87fc9647c97022d38673f66a8b2f (patch)
tree6b93db7fc54391d79a60d3ac9ed2662e1a2b5b3c /python/start.sh
parentRebase newer branch (diff)
downloadcsci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.tar
csci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.tar.gz
csci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.tar.bz2
csci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.tar.lz
csci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.tar.xz
csci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.tar.zst
csci4511w-8774432f5b7e87fc9647c97022d38673f66a8b2f.zip
Add debug configs,
Diffstat (limited to 'python/start.sh')
-rwxr-xr-xpython/start.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/start.sh b/python/start.sh
index 6be69a2..455944d 100755
--- a/python/start.sh
+++ b/python/start.sh
@@ -1,7 +1,10 @@
+#/bin/bash
(cd dotsandboxes; python3 dotsandboxesserver.py 8080) &
python3 agent.py 10001 &
python3 agent.py 10002 &
-read -p "Press enter to close all programs."
+
+echo "Press enter to close all programs"
+read TRASH;
trap "exit" INT TERM
trap "kill 0" EXIT