From eb18665f5b8248e127398436208c28384b62fbcd Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Fri, 19 Aug 2016 13:45:55 -0500 Subject: [PATCH] Removed shell option from subprocess. --- etc/ci/performance/runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/ci/performance/runner.py b/etc/ci/performance/runner.py index d34b9e49312..690a7445333 100644 --- a/etc/ci/performance/runner.py +++ b/etc/ci/performance/runner.py @@ -28,8 +28,7 @@ def execute_test(url, command, timeout): print(' '.join(command)) print("Timeout:{}".format(timeout)) try: - return subprocess.check_output(command, stderr=subprocess.STDOUT, - shell=True, timeout=timeout) + return subprocess.check_output(command, stderr=subprocess.STDOUT, timeout=timeout) except subprocess.CalledProcessError as e: print("Unexpected Fail:") print(e)