From 60158dfb818cbc8132da31bdf3ab77def9bf070e Mon Sep 17 00:00:00 2001 From: saadparwaiz1 <73385353+saadparwaiz1@users.noreply.github.com> Date: Tue, 24 Nov 2020 08:39:11 +0000 Subject: checkhealth: support virtual env dir with spaces --- runtime/autoload/health/provider.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index 94fd7cf505..112dd4354f 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -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 -- cgit