aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures/cmdscript.cmd
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-21 16:37:07 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-07-21 20:51:37 +0200
commitb08dc3ec195feb4ab69c898ab816c104d2aa1aa1 (patch)
tree3e614d685f1b0335719df538377b93a491eae3ed /test/functional/fixtures/cmdscript.cmd
parent9d0f8224c97b36116f3c0523bcf6941382892a5b (diff)
downloadrneovim-b08dc3ec195feb4ab69c898ab816c104d2aa1aa1.tar.gz
rneovim-b08dc3ec195feb4ab69c898ab816c104d2aa1aa1.tar.bz2
rneovim-b08dc3ec195feb4ab69c898ab816c104d2aa1aa1.zip
win: jobstart(), system(): $PATHEXT-resolve exe
Windows: In order for jobstart(['foo']), system(['foo']) to find "foo.cmd", we must replace "foo" with "foo.cmd" before sending `argv` to process_spawn(). Rationale: jobstart([…]), system([…]) "executable" semantics should be consistent with the VimL executable() function. fix #9569 related: #10554
Diffstat (limited to 'test/functional/fixtures/cmdscript.cmd')
-rw-r--r--test/functional/fixtures/cmdscript.cmd2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/fixtures/cmdscript.cmd b/test/functional/fixtures/cmdscript.cmd
new file mode 100644
index 0000000000..b680d24900
--- /dev/null
+++ b/test/functional/fixtures/cmdscript.cmd
@@ -0,0 +1,2 @@
+@echo off
+echo much success