diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2017-03-28 16:03:53 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-12 02:10:34 +0200 |
commit | f3cc843755a6d638ada77dc31721aa53b3ff2364 (patch) | |
tree | ec2a760337b8d700ae7398feea43230e5b762ca8 /src/nvim/diff.c | |
parent | 799443c9942fa145320d9cc7c4638bdaa8c8d67a (diff) | |
download | rneovim-f3cc843755a6d638ada77dc31721aa53b3ff2364.tar.gz rneovim-f3cc843755a6d638ada77dc31721aa53b3ff2364.tar.bz2 rneovim-f3cc843755a6d638ada77dc31721aa53b3ff2364.zip |
win: libuv_process_spawn(): special-case cmd.exe
Disable CommandLineToArgvW-standard quoting for cmd.exe.
libuv assumes spawned processes follow the convention expected by
CommandLineToArgvW(). But cmd.exe is non-conformant, so for cmd.exe:
- With system([]), the caller has full control (and responsibility) to
quote arguments correctly.
- With system(''), shell* options are used.
libuv quoting is disabled if argv[0] is:
- cmd.exe
- cmd
- $COMSPEC resolving to a path with filename cmd.exe
Closes #6329
References #6387
Diffstat (limited to 'src/nvim/diff.c')
0 files changed, 0 insertions, 0 deletions