skywind3000 / asyncrun.vim

:rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
https://www.vim.org/scripts/script.php?script_id=5431
MIT License
1.84k stars 109 forks source link

Strip message even if process fails #274

Closed n0bra1n3r closed 1 year ago

n0bra1n3r commented 1 year ago

"Finished in..." is still printed when process fails - fix that.

skywind3000 commented 1 year ago

thanks

skywind3000 commented 1 year ago

wait, I remember that I wrote the previous code in purpose,

If your process fails without any output, at least there is a message "[finished ... exit code]" to indicate that.

Without it, you have no way to know that.

n0bra1n3r commented 1 year ago

Thanks for merging! Oh I see, that makes sense. Would it be better if the message was shown if there was no output?

There still seems to be empty lines at the end of the output as well:

image