Commit ba31c384 authored by kalman@chromium.org's avatar kalman@chromium.org

Extension docs server: add sys.executable to start_dev_server so that it works...

Extension docs server: add sys.executable to start_dev_server so that it works better on Windows (where Python isn't necessarily in the path).


Review URL: https://chromiumcodereview.appspot.com/10837002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148981 0039d316-1c4b-4281-b951-d872f2087c98
parent 64ff751b
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment