mirror of
https://github.com/neovim/neovim.git
synced 2026-04-23 15:55:36 +00:00
vim-patch:9.1.0794: tests: tests may fail on Windows environment (#30874)
Problem: tests: tests may fail on Windows environment
Solution: use shellcmdflag=/D to skip executing autorun from
the registry (Milly)
closes: vim/vim#15900
4f5681dbdf
Cherry-pick Test_cursorhold_insert_with_timer_interrupt() change from
patch 8.2.1836.
Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
@@ -64,7 +64,7 @@ func RunCommand(cmd)
|
||||
let job = job_start(a:cmd, {"stoponexit": "hup"})
|
||||
call job_setoptions(job, {"stoponexit": "kill"})
|
||||
elseif has('win32')
|
||||
exe 'silent !start cmd /c start "test_channel" ' . a:cmd
|
||||
exe 'silent !start cmd /D /c start "test_channel" ' . a:cmd
|
||||
else
|
||||
exe 'silent !' . a:cmd . '&'
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user