Open yshui opened 7 years ago
Hi. That's how it is used to be. However, this was causing issues for someone. From what I could tell that was caused by that person's shell (it might have be broken for my shell as well, don't remember exactly), and I did this change https://github.com/lyuts/vim-rtags/commit/74e667e7ebfb533b9e2cff503d4bb2385dd6c450
I agree i should switch to a portable approach.
https://github.com/lyuts/vim-rtags/blob/master/plugin/rtags.vim#L570
First, what you want is "&>" not ">&", which means redirect to file descriptor. Secondly, no, this is not portable. Lastly, you should use the on_stderr, on_stdout callbacks, not temporary files.