From 7a0502adb6f07c41cfd857dfbe89aacc89d53f31 Mon Sep 17 00:00:00 2001 From: Mark Canterbury Date: Thu, 7 Jun 2018 11:47:18 +0100 Subject: [PATCH] Fixing issue with pidof calls and use of python rather than python3 --- .../demo2_multiple_contexts/pythonHandlerScript.sh | 2 +- evaluation/demonstration/demo2_multiple_contexts/run_demo.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/evaluation/demonstration/demo2_multiple_contexts/pythonHandlerScript.sh b/evaluation/demonstration/demo2_multiple_contexts/pythonHandlerScript.sh index 3ee608b..c9eb29b 100755 --- a/evaluation/demonstration/demo2_multiple_contexts/pythonHandlerScript.sh +++ b/evaluation/demonstration/demo2_multiple_contexts/pythonHandlerScript.sh @@ -1 +1 @@ -python processRequest.py $1 \ No newline at end of file +python3 processRequest.py $1 diff --git a/evaluation/demonstration/demo2_multiple_contexts/run_demo.sh b/evaluation/demonstration/demo2_multiple_contexts/run_demo.sh index 7b3ed86..8445eaa 100755 --- a/evaluation/demonstration/demo2_multiple_contexts/run_demo.sh +++ b/evaluation/demonstration/demo2_multiple_contexts/run_demo.sh @@ -1,13 +1,13 @@ echo "Starting Middlebox" ../middlebox 8423 127.0.0.1:8423 webMiddlebox & - mboxpid=$(pidof ../mcmbox) + mboxpid=$(pidof middlebox) sleep .3 echo "Starting Server" ../server ./pythonHandlerScript.sh & - serverpid=$(pidof ../mcserver) + serverpid=$(pidof server) sleep .3 -- GitLab