mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
system(): handle profiling and 'verbose' #8730
closes #8362 Vim's code calls `call_shell` directly from `get_system_output_as_rettv` whereas in Nvim this function has been rewritten to not call `call_shell` but to call `os_system` via `do_os_system`, losing the support for profiling and verbose. Changing the code to call `call_shell` from `get_system_output_as_rettv` seems to be too complicated to be worth it on the current version of the code. So this commit duplicates the relevant code.
This commit is contained in:
committed by
Justin M. Keyes
parent
befc7de26f
commit
a2253744c9
@@ -18,6 +18,7 @@ local expect_err = global_helpers.expect_err
|
||||
local filter = global_helpers.filter
|
||||
local map = global_helpers.map
|
||||
local matches = global_helpers.matches
|
||||
local near = global_helpers.near
|
||||
local neq = global_helpers.neq
|
||||
local ok = global_helpers.ok
|
||||
local read_file = global_helpers.read_file
|
||||
@@ -699,6 +700,7 @@ local module = {
|
||||
meths = meths,
|
||||
missing_provider = missing_provider,
|
||||
mkdir = lfs.mkdir,
|
||||
near = near,
|
||||
neq = neq,
|
||||
new_pipename = new_pipename,
|
||||
next_msg = next_msg,
|
||||
|
||||
Reference in New Issue
Block a user