]> git.eshelyaron.com Git - emacs.git/commit
Don't try to make a pipe process for remote processes in Eshell
authorJim Porter <jporterbugs@gmail.com>
Mon, 23 Jan 2023 06:54:53 +0000 (22:54 -0800)
committerJim Porter <jporterbugs@gmail.com>
Mon, 23 Jan 2023 17:48:09 +0000 (09:48 -0800)
commit7f438ff543b7bd83cee6c75be1d16abc1215d37f
treeddca7acf2572a39268ce5d6ead0182861f8b2e80
parentcb9628373a8dcb5ace0cb8fcc7b636dea39b5703
Don't try to make a pipe process for remote processes in Eshell

Tramp currently isn't able to handle this, so the result will just
produce an error (bug#61024).

* lisp/eshell/esh-proc.el (eshell-gather-process-output): Check for a
remote 'default-directory' before trying to make a pipe process.

* test/lisp/eshell/esh-proc-tests.el
(esh-var-test/output/remote-redirect): New test.
lisp/eshell/esh-proc.el
test/lisp/eshell/esh-proc-tests.el