Jan Edmund Lazo
9382063860
batchfile is not required in s:spawn
...
User's shell settings do not affect Vim/Neovim jobs.
2019-08-03 17:13:57 -04:00
Jan Edmund Lazo
e5c6dbe2c1
Revert expand and s:spawn changes
...
tempname() is affected by shellslash so expand() is useless.
"/c" flag is required to exec a batchfile.
2019-08-03 16:16:22 -04:00
Jan Edmund Lazo
41a49263a6
Vim job execs batchfile via cmd.exe
2019-07-23 18:56:08 -04:00
Jan Edmund Lazo
8754b3ed74
Use cmd.exe shellescape inside batchfile
2019-07-22 20:06:45 -04:00
Jan Edmund Lazo and Junegunn Choi
226d6abeb2
Don't override shell on Windows ( #856 )
...
Assume that the user set the shell options correctly
before running vim-plug so that the user can use bash or powershell
as their shell.
Close #815
2019-07-16 09:06:27 +09:00
Jan Edmund Lazo and Junegunn Choi
f1ad2d864a
Escape batchfile path on Windows ( #850 )
...
Close #832
2019-06-17 23:00:59 +02:00
Jan Edmund Lazo and Junegunn Choi
4f95bce2f4
Fix PlugDiff for Windows ( #681 )
...
Close #680
2017-09-20 11:02:54 +09:00
Jan Edmund Lazo and Junegunn Choi
7f96c98b0a
Prepend 'silent' to ':!' to avoid hit-enter prompt ( #678 )
...
Close #606
Fix for GVim on Windows.
2017-09-19 13:53:35 +09:00
Jan Edmund Lazo and Junegunn Choi
05c8983d1a
Port fzf#shellescape ( #676 )
...
Close #635
Close #668
Close #539
Use a temporary batchfile for :!, system(), and jobs and run it in cmd.exe.
This bypasses Vim/Neovim issues in Windows and reduces the need to set more options.
Also, s:shellesc_cmd works in a batchfile only.
Set shellredir for system() in Windows
$SHELL sets the default value of 'shell' (see :h 'shell').
This affects shellredir but cmd.exe requires '>%s 2>&1'.
2017-09-19 10:37:22 +09:00