Don't shellquote executable names

Quoting the executable results in a traceback on Linux systems (because
the quotes added by shellquote are considered part of the executable
name), and is unnecessary on Windows systems.

This fixes #1240.
This commit is contained in:
Daniel Watkins
2017-12-22 14:05:23 -05:00
committed by Dan Ryan
parent 6e811dc7a2
commit 39b2f52605
+1 -1
View File
@@ -542,7 +542,7 @@ def resolve_deps(deps, which, which_pip, project, sources=None, verbose=False, p
markers_lookup = {}
python_path = which('python', allow_global=allow_global)
backup_python_path = shellquote(sys.executable)
backup_python_path = sys.executable
results = []