vim-patch:8.1.1462: MS-Windows: using special character requires quoting

Problem:    MS-Windows: using special character requires quoting.
Solution:   Add quotes. (Ken Takata)
c974022c31
This commit is contained in:
Daniel Hahler 2019-08-11 13:24:09 +02:00
parent 143b02c573
commit 2193e68837
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func Test_external_env()
call setenv('FOO', v:null)
if has('win32')
let result = system('set | findstr ^FOO=')
let result = system('set | findstr "^FOO="')
else
let result = system('env | grep ^FOO=')
endif