set err_mode

This commit is contained in:
Yasuhiro Matsumoto 2017-02-23 01:33:46 +09:00
parent 7dd874e90c
commit 7f7d829784

View File

@ -1992,7 +1992,9 @@ function! s:system(cmd, ...)
\ 'out_cb': {ch,msg->[execute("let out .= msg"), out]}, \ 'out_cb': {ch,msg->[execute("let out .= msg"), out]},
\ 'err_cb': {ch,msg->[execute("let out .= msg"), out]}, \ 'err_cb': {ch,msg->[execute("let out .= msg"), out]},
\ 'exit_cb': {job,code->[execute("let exit_code=code"), exit_code]}, \ 'exit_cb': {job,code->[execute("let exit_code=code"), exit_code]},
\ 'out_mode': 'raw'}) \ 'out_mode': 'raw',
\ 'err_mode': 'raw',
\})
while job_status(job) == 'run' while job_status(job) == 'run'
sleep 10m sleep 10m
endwhile endwhile