aboutsummaryrefslogtreecommitdiffstats
path: root/python/start.sh
blob: 455944dd89baa246761a29e62b76cc920ac3866b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#/bin/bash
(cd dotsandboxes; python3 dotsandboxesserver.py 8080) &
python3 agent.py 10001 &
python3 agent.py 10002 &

echo "Press enter to close all programs"
read TRASH;

trap "exit" INT TERM
trap "kill 0" EXIT