Emacs and Long Shell Commands
Posted
by darrint
on Stack Overflow
See other posts from Stack Overflow
or by darrint
Published on 2010-04-24T21:13:50Z
Indexed on
2010/04/24
22:13 UTC
Read the original article
Hit count: 164
Is there a way to run a shell command, have the output show up in a new buffer and have that output show up incrementally? Eshell and other emacs terminal emulators do a find job of this but I see no way to script them.
What I'd like to do is write little elisp functions to do stuff like run unit tests, etc. and watch the output trickle into a buffer.
The elisp function shell-command is close to what I want but it shows all the output at once when the process finishes.
© Stack Overflow or respective owner