mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Removed shell option from subprocess.
This commit is contained in:
parent
1096351543
commit
eb18665f5b
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue