aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/shell.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-12 03:21:21 +0200
committerGitHub <noreply@github.com>2017-04-12 03:21:21 +0200
commitdd391bfca1f37093ba556f5da6a7f3eb81147fc0 (patch)
tree853aea222ea79998c63a0ef2e17e3e44101166e6 /src/nvim/os/shell.c
parent2d72d85b23761383ac7838faed2f7b53bdce8817 (diff)
parent7c4e5dfd2722b8c25641cbbc66c5b0133d0e2f03 (diff)
downloadrneovim-dd391bfca1f37093ba556f5da6a7f3eb81147fc0.tar.gz
rneovim-dd391bfca1f37093ba556f5da6a7f3eb81147fc0.tar.bz2
rneovim-dd391bfca1f37093ba556f5da6a7f3eb81147fc0.zip
Merge #6497 from justinmk/win-quot
win: system('...'): special-case cmd.exe
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r--src/nvim/os/shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c
index b449cc3d5a..5cc9d4b79b 100644
--- a/src/nvim/os/shell.c
+++ b/src/nvim/os/shell.c
@@ -124,11 +124,9 @@ int os_call_shell(char_u *cmd, ShellOpts opts, char_u *extra_args)
}
size_t nread;
-
int exitcode = do_os_system(shell_build_argv((char *)cmd, (char *)extra_args),
input.data, input.len, output_ptr, &nread,
emsg_silent, forward_output);
-
xfree(input.data);
if (output) {