1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
emacs/test/lisp/eshell
Jim Porter 267fca267f Fix using background commands in 'eshell-command'
This regressed due to the patch for bug#53715, which changed how
Eshell pipelines return the processes in the pipeline (bug#62556).

* lisp/eshell/esh-cmd.el (eshell-parse-command): When creating
background commands, wrap the process(es) in a cons cell whose CAR is
':eshell-background'.  This lets us use fewer heuristics...
(eshell-eval-command): ... here.  Additionally, keep the result and
the incomplete delimiter separate.

* lisp/eshell/eshell.el (eshell-command): Check ':eshell-background'
and use a more-robust method for setting the output target.

* test/lisp/eshell/eshell-tests.el (eshell-test/eshell-command/simple)
(eshell-test/eshell-command/pipeline)
(eshell-test/eshell-command/background)
(eshell-test/eshell-command/background-pipeline): New tests.
2023-04-02 15:05:53 -07:00
..
em-alias-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-basic-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-cmpl-tests.el Avoid parsing some Eshell forms when performing completion 2023-03-28 12:03:29 -07:00
em-dirs-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-extpipe-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-glob-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-ls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt-tests.el Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00
em-script-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-tramp-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-arg-tests.el Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
esh-cmd-tests.el Avoid shadowing variables in some Eshell command forms 2023-04-01 16:24:31 -07:00
esh-ext-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-opt-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-proc-tests.el ; Add tests for synchronous processes in Eshell 2023-04-02 14:15:45 -07:00
esh-util-tests.el Make 'eshell-number-regexp' into a regular defvar 2023-01-27 18:03:10 -08:00
esh-var-tests.el Simplify parsing subcommands slightly 2023-03-28 12:02:46 -07:00
eshell-tests-helpers.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
eshell-tests-unload.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
eshell-tests.el Fix using background commands in 'eshell-command' 2023-04-02 15:05:53 -07:00