diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-12 08:07:58 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-09-12 08:30:26 +0200 |
commit | 90b7d25882a1472b83528b21351676d776f881f2 (patch) | |
tree | 7a5379dffe4183db82f805f7b17a1d0b47e16c75 /src/nvim/os/shell.c | |
parent | 31c3d5466832a19029b9815c53eacc3c726ff569 (diff) | |
download | rneovim-90b7d25882a1472b83528b21351676d776f881f2.tar.gz rneovim-90b7d25882a1472b83528b21351676d776f881f2.tar.bz2 rneovim-90b7d25882a1472b83528b21351676d776f881f2.zip |
do_shell, do_filter: Remove "clear screen", "wait for return" calls
The output from shell commands is already handled by the messages.c/UI
layer.
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index f42005f392..aa4e7d307b 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -101,6 +101,8 @@ void shell_free_argv(char **argv) /// @param cmd The command to execute, or NULL to run an interactive shell. /// @param opts Options that control how the shell will work. /// @param extra_args Extra arguments to the shell, or NULL. +/// +/// @return shell command exit code int os_call_shell(char_u *cmd, ShellOpts opts, char_u *extra_args) { DynamicBuffer input = DYNAMIC_BUFFER_INIT; |