diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-12 01:35:17 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-12 02:28:43 +0200 |
commit | 7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03 (patch) | |
tree | 853aea222ea79998c63a0ef2e17e3e44101166e6 /runtime | |
parent | d31d177a0c2c9997c2cdb04975bc3354b9a23fb8 (diff) | |
download | rneovim-7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03.tar.gz rneovim-7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03.tar.bz2 rneovim-7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03.zip |
win: os_shell_is_cmdexe() + tests
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index aa979ae42c..77db2699f8 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4855,14 +4855,14 @@ jobstart({cmd}[, {opts}]) {Nvim} *jobstart()* < (Only shows the idea; see |shell-unquoting| for full details.) NOTE: on Windows if {cmd} is a List: - - cmd[0] must be executable. If it is in $PATH it can be - called by name, with or without an extension: > + - cmd[0] must be an executable (not a "built-in"). If it is + in $PATH it can be called by name, without an extension: > :call jobstart(['ping', 'neovim.io']) -< If it is a path (not a name), extension is required: > +< If it is a full or partial path, extension is required: > :call jobstart(['System32\ping.exe', 'neovim.io']) -< - {cmd} is quoted per the convention expected by - CommandLineToArgvW https://msdn.microsoft.com/bb776391 - unless the first argument is some form of "cmd.exe". +< - {cmd} is collapsed to a string of quoted args as expected + by CommandLineToArgvW https://msdn.microsoft.com/bb776391 + unless cmd[0] is some form of "cmd.exe". {opts} is a dictionary with these keys: on_stdout: stdout event handler (function name or |Funcref|) |