From febd4c53953031c8ac9a5a8d2f461239d88f4d0c Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 19 Oct 2016 09:35:40 +0200 Subject: [PATCH] sat test: bug fix for option --launcher --- src/test_module.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test_module.py b/src/test_module.py index 9a8dc5d..a1c5bbd 100644 --- a/src/test_module.py +++ b/src/test_module.py @@ -426,8 +426,9 @@ class Test: " done ; echo $KERNEL_ROOT_DIR" else: # New application - cmd = "echo -e 'import os\nprint os.environ[\"KERNEL_ROOT_DIR\"" - "]' > tmpscript.py; %s shell tmpscript.py" % self.launcher + cmd = ("echo -e 'import os\nprint os.environ[\"KERNEL_" + + "ROOT_DIR\"]' > tmpscript.py; %s shell" + + " tmpscript.py") % self.launcher root_dir = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True, -- 2.39.2