Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: scripts/tools/runit.py

Issue 914303007: Fix runit.py script on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: prepend executable for all platforms Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/tools/runit.py
diff --git a/scripts/tools/runit.py b/scripts/tools/runit.py
index 8180e74b3eb69b0b1536a9739890affdcb81f059..4f985ccfa833b1978c0bb61eb03df5a67817fceb 100755
--- a/scripts/tools/runit.py
+++ b/scripts/tools/runit.py
@@ -86,7 +86,7 @@ def main():
print 'Set PYTHONPATH: %s' % os.environ['PYTHONPATH']
# Use subprocess instead of execv because otherwise windows destroys quoting.
- p = subprocess.Popen(args)
+ p = subprocess.Popen([sys.executable] + args)
p.wait()
return p.returncode
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698