mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01: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(' '.join(command))
|
||||||
print("Timeout:{}".format(timeout))
|
print("Timeout:{}".format(timeout))
|
||||||
try:
|
try:
|
||||||
return subprocess.check_output(command, stderr=subprocess.STDOUT,
|
return subprocess.check_output(command, stderr=subprocess.STDOUT, timeout=timeout)
|
||||||
shell=True, timeout=timeout)
|
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
print("Unexpected Fail:")
|
print("Unexpected Fail:")
|
||||||
print(e)
|
print(e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue