Skip to content

Commit

Permalink
system: wrap str as string tyru#98
Browse files Browse the repository at this point in the history
  • Loading branch information
josephholsten committed Jul 21, 2017
1 parent 2ed22fe commit 0900e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vital/_openbrowser/Process.vim
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function! s:system(str, ...) abort
let args = [command] + args
if background && (use_vimproc || !s:is_windows)
if has('nvim')
throw "vital: Process: neovim's system() doesn't support background(&) process (cmdline:" . a:str . ')'
throw "vital: Process: neovim's system() doesn't support background(&) process (cmdline:" . string(a:str) . ')'
endif
let args[0] = args[0] . ' &'
endif
Expand Down

0 comments on commit 0900e93

Please sign in to comment.