diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-10-17 23:56:39 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-10-19 01:01:27 +0200 |
commit | 16da3a6fe01de74eaebfd4750dabe27b3b7ab068 (patch) | |
tree | 3aa10129345e69687239600b66ad25a795a06a59 /test/functional/eval/system_spec.lua | |
parent | 657ba62a84de4ae0fd6dbaa2d3c238de4b372669 (diff) | |
download | rneovim-16da3a6fe01de74eaebfd4750dabe27b3b7ab068.tar.gz rneovim-16da3a6fe01de74eaebfd4750dabe27b3b7ab068.tar.bz2 rneovim-16da3a6fe01de74eaebfd4750dabe27b3b7ab068.zip |
test: system(): backgrounded shell command
These tests are essentially affirming a regression vs Vim. In Vim,
:echo system('cat - &', 'foo')
returns "foo", because Vim internally wraps the command with shell-specific
syntax to redirect the streams from /dev/null[1].
That can't work in Nvim because we use pipes directly (instead of temp files)
and don't wrap the command with shell-specific redirection syntax.
References #3529
References #5241
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_03_02
Diffstat (limited to 'test/functional/eval/system_spec.lua')
0 files changed, 0 insertions, 0 deletions