1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 21:20:53 -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
em-basic-tests.el
em-cmpl-tests.el Avoid parsing some Eshell forms when performing completion 2023-03-28 12:03:29 -07:00
em-dirs-tests.el
em-extpipe-tests.el
em-glob-tests.el
em-hist-tests.el
em-ls-tests.el
em-pred-tests.el
em-prompt-tests.el
em-script-tests.el
em-tramp-tests.el
esh-arg-tests.el
esh-cmd-tests.el Avoid shadowing variables in some Eshell command forms 2023-04-01 16:24:31 -07:00
esh-ext-tests.el
esh-io-tests.el
esh-opt-tests.el
esh-proc-tests.el ; Add tests for synchronous processes in Eshell 2023-04-02 14:15:45 -07:00
esh-util-tests.el
esh-var-tests.el Simplify parsing subcommands slightly 2023-03-28 12:02:46 -07:00
eshell-tests-helpers.el
eshell-tests-unload.el
eshell-tests.el Fix using background commands in 'eshell-command' 2023-04-02 15:05:53 -07:00