mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
os_system(): do not set up input stream for empty string #7951
Test failure: test/functional/eval/system_spec.lua: "works with an empty string" E5677: Error writing input to shell-command: EPIPE ref https://github.com/neovim/neovim/pull/6558#issuecomment-361061035 ref #6554
This commit is contained in:
@@ -260,6 +260,7 @@ describe('system()', function()
|
||||
end)
|
||||
it('works with an empty string', function()
|
||||
eq("test\n", eval('system("echo test", "")'))
|
||||
eq(2, eval("1+1")) -- Still alive?
|
||||
end)
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user