File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ def _get_pip_executable(multiple = False):
4343 exec_ = which (pip_ )
4444 if exec_ :
4545 if not multiple :
46- return exec_
46+ return '"' + exec_ + '"'
4747 else :
48- exec_ = osp .realpath (exec_ )
48+ exec_ = '"' + osp .realpath (exec_ ) + '"'
4949 if exec_ not in execs :
5050 execs .append (exec_ )
5151
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def _command(*args, **kwargs):
144144 cli .echo (cli_format ("Checking..." , cli .YELLOW ), file = file_ )
145145
146146 pip_path = a .pip_path or [ ]
147- pip_path = [which (p ) for p in pip_path ] or _pip ._PIP_EXECUTABLES
147+ pip_path = ['"' + which (p ) + '"' for p in pip_path ] or _pip ._PIP_EXECUTABLES
148148
149149 logger .info ("`pip` executables found: %s" % pip_path )
150150
You can’t perform that action at this time.
0 commit comments