base_2v2.sh 230 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#!/bin/bash

./bin/HFO --offense-npcs=2 --defense-npcs=2 --trials 20 --headless &

# The magic line
#   $$ holds the PID for this script
#   Negation means kill by process group id instead of PID
trap "kill -TERM -$$" SIGINT
wait