mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
checkhealth: support virtual env dir with spaces
This commit is contained in:
parent
dd876a1548
commit
60158dfb81
@ -487,7 +487,7 @@ endfunction
|
||||
|
||||
" Resolves Python executable path by invoking and checking `sys.executable`.
|
||||
function! s:python_exepath(invocation) abort
|
||||
return s:normalize_path(system(a:invocation
|
||||
return s:normalize_path(system(fnameescape(a:invocation)
|
||||
\ . ' -c "import sys; sys.stdout.write(sys.executable)"'))
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user