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

Unified Diff: chrome/common/extensions/docs/server2/start_dev_server.py

Issue 10837002: Extension docs server: add sys.executable to start_dev_server so that it works better on Windows (w… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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: chrome/common/extensions/docs/server2/start_dev_server.py
diff --git a/chrome/common/extensions/docs/server2/start_dev_server.py b/chrome/common/extensions/docs/server2/start_dev_server.py
index ffed88deb7bf62b36e5bca613b9e7a676e9728c4..bf297f85bcca365006d1449ce927feb0878dcd32 100755
--- a/chrome/common/extensions/docs/server2/start_dev_server.py
+++ b/chrome/common/extensions/docs/server2/start_dev_server.py
@@ -30,6 +30,5 @@ build_server.main()
for filename in FILENAMES:
shutil.copy(os.path.join(SERVER_PATH, filename),
os.path.join(SRC_PATH, filename))
-args = sys.argv[1:]
-args.append(SRC_PATH)
+args = [sys.executable] + sys.argv[1:] + [SRC_PATH]
subprocess.call(args)
« 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