A mate at work was showing me his emacs-fu with comint
mode, and showed me something quite interesting.
He was able to spawn a process and watch the output in the buffer window, with all of the benefits of doing this in an editor, such as being to search and replace in the window while the process is running.
I know how to spawn a process and capture the output when it's finished, but was wondering if you can do it while it's running from vim- e.g for a long running compile, you can trace the output and search it while the process is still running.
Cheers.