From d6bb02da665d917d12659c4653ae29c724d8eaa3 Mon Sep 17 00:00:00 2001 From: Brian Duggan Date: Mon, 18 Jun 2018 11:35:22 -0400 Subject: [PATCH] Also store child pid --- script/server | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/script/server b/script/server index ebace09b..cd9fb452 100755 --- a/script/server +++ b/script/server @@ -15,4 +15,7 @@ set -e cd "$(dirname "${0}")/.." # Launch the app -pipenv run python app.py ${@} +pipenv run python app.py ${@} & +child=$! + +wait $child