| Index: build/android/pylib/chrome_test_server_spawner.py
|
| diff --git a/build/android/pylib/chrome_test_server_spawner.py b/build/android/pylib/chrome_test_server_spawner.py
|
| index 1766a7731a644a6d2fe3fc6d595944085ae23491..512a6091dbea7f5579048739c6c537ad75bbb482 100644
|
| --- a/build/android/pylib/chrome_test_server_spawner.py
|
| +++ b/build/android/pylib/chrome_test_server_spawner.py
|
| @@ -207,12 +207,10 @@ class TestServerThread(threading.Thread):
|
| logging.info('Start running the thread!')
|
| self.wait_event.clear()
|
| self._GenerateCommandLineArguments()
|
| - command = '%s %s' % (
|
| - os.path.join(constants.CHROME_DIR, 'net', 'tools', 'testserver',
|
| - 'testserver.py'),
|
| - ' '.join(self.command_line))
|
| - logging.info(command)
|
| - self.process = subprocess.Popen(command, shell=True)
|
| + command = [os.path.join(constants.CHROME_DIR, 'net', 'tools',
|
| + 'testserver', 'testserver.py')] + self.command_line
|
| + logging.info('Running: %s', command)
|
| + self.process = subprocess.Popen(command)
|
| if self.process:
|
| if self.pipe_out:
|
| self.is_ready = self._WaitToStartAndGetPortFromTestServer()
|
|
|