aboutsummaryrefslogtreecommitdiffstats
path: root/python/start.sh
diff options
context:
space:
mode:
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