Skip to content
Snippets Groups Projects
Commit d48c5a5b authored by David G. Quintas's avatar David G. Quintas
Browse files

Merge pull request #3637 from ctiller/smash-it

Use sys.executable instead of hard coding python binary string
parents e1d8d4dc 1447ece0
No related branches found
No related tags found
No related merge requests found
......@@ -732,7 +732,7 @@ def _start_port_server(port_server_port):
print 'starting port_server'
port_log = open('portlog.txt', 'w')
port_server = subprocess.Popen(
['python2.7', 'tools/run_tests/port_server.py', '-p', '%d' % port_server_port],
[sys.executable, 'tools/run_tests/port_server.py', '-p', '%d' % port_server_port],
stderr=subprocess.STDOUT,
stdout=port_log)
# ensure port server is up
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment