On Jan 10, 2014, at 5:24 PM, Gary Johnson <garyjohn@spocom.com> wrote:
> Another, better way is used by Vim's :grep and :make commands, which
> tee the output to a temporary file while letting stdout and stderr
> go to the display. For example:
>
> :!external --command | tee /tmp/tmpfile
>
> Then you can read the temporary file using system() or readfile() or
> by whatever means is appropriate for your task.
That sounds like it could work for this. I will have to try it. Many thanks!
Ben
--
b
Sent from my iPhone
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Monday, January 13, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment