collect the pid of the server on startup, and kill it on shutdown

master
Greg Gauthier 3 years ago
parent 7bdb1712b9
commit 428150e81f
  1. 3
      rundemo.sh

@ -2,5 +2,6 @@
python3 -m pip install pipenv
pipenv run ./install.sh
pipenv run python3 app/simple.py &
pipenv run python3 app/simple.py & PID=$!
pipenv run python3 -m pytest tests/test_hov.py --verbose --show-capture=all
kill -9 $PID

Loading…
Cancel
Save