Escape cwd
This commit is contained in:
parent
c0da740d7e
commit
0867de3ac3
@ -152,7 +152,7 @@ function! s:run(cmd, path, do_switch_dir)
|
||||
execute b:sy_info.chdir fnameescape(b:sy_info.dir)
|
||||
let ret = system(cmd)
|
||||
finally
|
||||
execute b:sy_info.chdir cwd
|
||||
execute b:sy_info.chdir fnameescape(cwd)
|
||||
endtry
|
||||
return ret
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user