| Index: testing/tools/common.py
|
| diff --git a/testing/tools/common.py b/testing/tools/common.py
|
| index 6e9de7c82c67828a012a96b90d800e0152375bd9..1e1d257f48d608eb33845e9877b588442577e118 100755
|
| --- a/testing/tools/common.py
|
| +++ b/testing/tools/common.py
|
| @@ -18,12 +18,9 @@ def os_name():
|
| raise Exception('Confused, can not determine OS, aborting.')
|
|
|
|
|
| -def RunCommand(cmd, redirect_output=False):
|
| +def RunCommand(cmd):
|
| try:
|
| - if redirect_output:
|
| - sys.stdout.write(subprocess.check_output(cmd, stderr=subprocess.STDOUT))
|
| - else:
|
| - subprocess.check_call(cmd)
|
| + subprocess.check_call(cmd)
|
| return None
|
| except subprocess.CalledProcessError as e:
|
| return e
|
|
|