aboutsummaryrefslogtreecommitdiffstats
path: root/python/start.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpython/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/start.sh b/python/start.sh
new file mode 100755
index 0000000..6be69a2
--- /dev/null
+++ b/python/start.sh
@@ -0,0 +1,7 @@
+(cd dotsandboxes; python3 dotsandboxesserver.py 8080) &
+python3 agent.py 10001 &
+python3 agent.py 10002 &
+read -p "Press enter to close all programs."
+
+trap "exit" INT TERM
+trap "kill 0" EXIT