Merge pull request #26 from hash-bang/master
BUGFIX: Shell fails to execute cli.py if plugin_directory contains spaces
This commit is contained in:
commit
d33ad3e757
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ let s:VERSION = '4.0.0'
|
||||||
let python_bin = 'pythonw'
|
let python_bin = 'pythonw'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
let cmd = [python_bin, '-W', 'ignore', s:plugin_directory . 'packages/wakatime/cli.py']
|
let cmd = [python_bin, '-W', 'ignore', '"' . s:plugin_directory . 'packages/wakatime/cli.py"']
|
||||||
let cmd = cmd + ['--file', shellescape(targetFile)]
|
let cmd = cmd + ['--file', shellescape(targetFile)]
|
||||||
let cmd = cmd + ['--plugin', shellescape(printf('vim/%d vim-wakatime/%s', v:version, s:VERSION))]
|
let cmd = cmd + ['--plugin', shellescape(printf('vim/%d vim-wakatime/%s', v:version, s:VERSION))]
|
||||||
if a:is_write
|
if a:is_write
|
||||||
|
|
Loading…
Reference in a new issue