aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJim Porter2024-07-06 14:09:08 -0700
committerJim Porter2024-07-09 17:28:32 -0700
commit8e46f44ea0eb761e24beda8c5cdbc8fcca87307a (patch)
tree9b9056b88b716f82e926a2a3896695b9ea11b65d /java
parent342998511add79c594a170dc04ecda2f2db0fd36 (diff)
downloademacs-8e46f44ea0eb761e24beda8c5cdbc8fcca87307a.tar.gz
emacs-8e46f44ea0eb761e24beda8c5cdbc8fcca87307a.zip
Improve Eshell's behavior when waiting for processes
This has a few benefits. First, it fixes a race condition when killing old processes in 'eshell-command'. Second, the "wait" built-in command is now more useful. Finally, killing processes when exiting Eshell (via 'eshell-round-robin-kill') should be much faster. * lisp/eshell/esh-proc.el (esh-opt): Require. (eshell-wait-for-process): Make obsolete in favor of... (eshell-wait-for-processes): ... this. Accept a timeout and support PIDs. Update callers. (eshell/wait): New implementation accepting -t/--timeout. (eshell-round-robin-kill): Use 'eshell-wait-for-processes'. * lisp/eshell/eshell.el (eshell-command): Use 'eshell-round-robin-kill'. * doc/misc/eshell.texi (List of Built-ins): Document the new "wait" behavior. * etc/NEWS: Announce this change.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions