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)
|
execute b:sy_info.chdir fnameescape(b:sy_info.dir)
|
||||||
let ret = system(cmd)
|
let ret = system(cmd)
|
||||||
finally
|
finally
|
||||||
execute b:sy_info.chdir cwd
|
execute b:sy_info.chdir fnameescape(cwd)
|
||||||
endtry
|
endtry
|
||||||
return ret
|
return ret
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user