I want to run several programs one after another and display their output in a single buffer. I can do this by calling call-process
multiple times:
(call-process "cmd1" nil "*out*" t)
(call-process "cmd2" nil "*out*" t)
...
The problem is that Emacs freezes until the last call-process
finishes.
How to execute several programs sequentially (one after another) without freezing Emacs?
C-h i g (elisp) Sentinels