diff options
| author | Jim Porter | 2023-03-30 19:31:30 -0700 |
|---|---|---|
| committer | Jim Porter | 2023-04-02 15:05:53 -0700 |
| commit | 267fca267fe858d8a8f34d15de21051e3b6fff41 (patch) | |
| tree | 512626e1f9d8f979124b8735e51092058b0b9c30 /java | |
| parent | 6df2941c1b0d965afc40f8c50ce08e45e060d64c (diff) | |
| download | emacs-267fca267fe858d8a8f34d15de21051e3b6fff41.tar.gz emacs-267fca267fe858d8a8f34d15de21051e3b6fff41.zip | |
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.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions