diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-11-26 13:08:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-26 13:08:42 +0100 |
commit | 7be113d7959df83bdec1e4d9a3e98264bc5d7a5b (patch) | |
tree | 317848900cdb67588f8cfbeb38d6fbd22a621051 /src/nvim/os/shell.c | |
parent | ecd7beb6e4876961075cc211d2b92f987d670dfa (diff) | |
download | rneovim-7be113d7959df83bdec1e4d9a3e98264bc5d7a5b.tar.gz rneovim-7be113d7959df83bdec1e4d9a3e98264bc5d7a5b.tar.bz2 rneovim-7be113d7959df83bdec1e4d9a3e98264bc5d7a5b.zip |
shell_write_cb: Schedule error message. (#5670)
Closes #5558
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index 18ee008d66..9e6effd21b 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -548,8 +548,8 @@ static void shell_write_cb(Stream *stream, void *data, int status) if (status) { // Can happen if system() tries to send input to a shell command that was // backgrounded (:call system("cat - &", "foo")). #3529 #5241 - EMSG2(_("E5677: Error writing input to shell-command: %s"), - uv_err_name(status)); + msg_schedule_emsgf(_("E5677: Error writing input to shell-command: %s"), + uv_err_name(status)); } if (stream->closed) { // Process may have exited before this write. ELOG("stream was already closed"); |