diff options
| author | Jim Porter | 2023-09-18 10:17:12 -0700 |
|---|---|---|
| committer | Jim Porter | 2023-09-18 10:26:34 -0700 |
| commit | 146bd41ddef21a19634e2b90db4bfb619a2091b2 (patch) | |
| tree | 6eba4aedaa2d5557073adb8243fd6e1751ea6aea /java/debug.sh | |
| parent | 991bf3f0f5dff66794785ebfcc867611fe75e0da (diff) | |
| download | emacs-146bd41ddef21a19634e2b90db4bfb619a2091b2.tar.gz emacs-146bd41ddef21a19634e2b90db4bfb619a2091b2.zip | |
Fix another race condition when waiting for Eshell processes
When checking if the other processes in our pipeline are "alive", we
also need to check whether their sentinels are finished. Otherwise,
we might proceed with command evaluation while one of the other
processes is still cleaning up.
* lisp/eshell/esh-proc.el (eshell-process-active-p): New function...
(eshell-wait-for-process)
* lisp/eshell/esh-cmd.el (eshell-resume-command): ... use it.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions