Merge "Changing scenario runner to use subprocess"

This commit is contained in:
Jenkins 2015-08-25 11:04:18 +00:00 committed by Gerrit Code Review
commit 131ccfecfc

View File

@ -18,6 +18,7 @@
from __future__ import print_function
import argparse
import os
import subprocess
import sys
import tempfile
@ -217,7 +218,7 @@ def main():
command = 'bash tools/pretty_tox.sh'
if concurrency:
command = command + ' -- --concurrency %d' % concurrency
return_code = os.system(command)
return_code = subprocess.call(command, shell=True)
sys.exit(return_code)