1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
emacs/lisp/eshell
Jim Porter 2ec41c174f Wait for all processes in a pipeline before resuming an Eshell command
Previously, we only waited until the tail process was finished, but
now, we wait for all of them.  This is more consistent with other
shells, and prevents some cases of a process's output coming *after*
we continued past its pipeline.

* lisp/eshell/esh-cmd.el (eshell-resume-command): Simplify
conditionals, and check that all the foreground processes are dead
before resuming Eshell command.

* test/lisp/eshell/esh-cmd-tests.el
(esh-cmd-test/pipeline-wait/multi-proc): New test.
2023-09-10 10:38:25 -07:00
..
em-alias.el
em-banner.el
em-basic.el Add debug instrumentation for Eshell process management 2023-08-31 18:42:03 -07:00
em-cmpl.el Enable remote file name completion in eshell depending on command (bug#65356) 2023-08-23 09:53:40 +02:00
em-dirs.el Apply Eshell tilde expansion before glob expansion 2023-09-02 16:17:27 -07:00
em-elecslash.el
em-extpipe.el
em-glob.el Apply Eshell tilde expansion before glob expansion 2023-09-02 16:17:27 -07:00
em-hist.el Fix behavior of 'eshell-hist-ignoredups' when set to 'erase' 2023-08-23 18:27:45 -07:00
em-ls.el Don't try to set variable removed in Emacs 21 2023-08-25 01:41:47 +02:00
em-pred.el Apply Eshell tilde expansion before glob expansion 2023-09-02 16:17:27 -07:00
em-prompt.el Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00
em-rebind.el Document optional Eshell modules 2023-07-01 12:03:56 -07:00
em-script.el
em-smart.el Make eshell-redisplay into alias for redisplay 2023-08-05 17:57:53 +02:00
em-term.el Add nvim and ncmpcpp to eshell-visual-commands 2023-08-02 21:57:15 +02:00
em-tramp.el
em-unix.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
em-xtra.el
esh-arg.el ; Add debug instrumentation for Eshell argument modifiers 2023-09-02 16:09:58 -07:00
esh-cmd.el Wait for all processes in a pipeline before resuming an Eshell command 2023-09-10 10:38:25 -07:00
esh-ext.el Add support for explicitly-remote commands in Eshell 2023-07-10 12:27:09 -07:00
esh-io.el Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00
esh-mode.el
esh-module.el
esh-opt.el
esh-proc.el Merge from origin/emacs-29 2023-09-09 04:33:47 -04:00
esh-util.el Collect all processes in an Eshell pipeline, not just the head and tail 2023-09-10 10:38:25 -07:00
esh-var.el Support 'comint-pager' in Eshell 2023-08-23 16:46:25 -07:00
eshell.el ; Fix debug logging for synchronous commands in Eshell tests 2023-09-01 09:26:14 -07:00