Add nohup to http.server in tools/local-build.sh 45/13245/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 20 Apr 2023 08:04:55 +0000 (10:04 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 20 Apr 2023 08:05:44 +0000 (10:05 +0200)
Change-Id: Ic21b33c22c069d6145ba9d60c7e3cebb75f99664
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tools/local-build.sh

index 7d2ec61..829649d 100755 (executable)
@@ -186,7 +186,7 @@ function run_httpserver() {
     if [ ! -z $EXISTING_PID ] ; then
         kill $EXISTING_PID
     fi
-    python3 -m http.server ${HTTPPORT} --directory "${HTTPDDIR}" &>/dev/null &
+    nohup python3 -m http.server ${HTTPPORT} --directory "${HTTPDDIR}" &>/dev/null &
 }
 
 function stage_2() {