From 97fe8499fd48bac2576024eb04cb79879c21e4f3 Mon Sep 17 00:00:00 2001 From: sfop Date: Thu, 30 Mar 2017 09:30:25 +0200 Subject: [PATCH] Script execution --- script/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 0eb631a..c540bf2 100755 --- a/script/local.py +++ b/script/local.py @@ -315,7 +315,8 @@ def is_camtool_running(): def kill_camtool(): ret = exec_cmd("killall -9 " + CAMTOOL_SERVER_SCRIPT) - ret += exec_cmd('pkill -f " \-p ' + _get_camtool_port()) + ret += exec_cmd('pkill -f " \-p ' + _get_camtool_port() + '"') + return ret def _run_camtool(): try: