]> git.eshelyaron.com Git - emacs.git/commit
Fix a race condition when evaluating Eshell commands
authorJim Porter <jporterbugs@gmail.com>
Sat, 25 May 2024 20:46:24 +0000 (13:46 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 May 2024 05:57:56 +0000 (07:57 +0200)
commitb4aae2a191d956e964cda241c332b0ed4cd0fe16
treef30da62e992eddc1f7b2e8edcc45e79f1ae7401c
parent007e4934a5f8dbf1bb7a46eee36b7f6d76fb29c4
Fix a race condition when evaluating Eshell commands

* lisp/eshell/esh-cmd.el (eshell-do-eval): Don't defer when all the
processes are done.

* test/lisp/eshell/esh-cmd-tests.el
(esh-cmd-test/pipeline-wait/nested-pipes): New test.

(cherry picked from commit 57dc1ed665d72bc58befa4853fa479b770fe4fcc)
lisp/eshell/esh-cmd.el
test/lisp/eshell/esh-cmd-tests.el