]> git.eshelyaron.com Git - emacs.git/commit
Improve implementation of built-in Eshell "kill" command
authorJim Porter <jporterbugs@gmail.com>
Thu, 18 Jul 2024 18:43:34 +0000 (11:43 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:31:58 +0000 (12:31 +0200)
commit14a8d6b623c76f5adec910db51cf4c645445849a
treec8a6291af05d7423723f1d4b66f708452de1d63a
parentbc21654c10f9512bd3ae7a17ff0984b14c765929
Improve implementation of built-in Eshell "kill" command

* lisp/eshell/esh-proc.el (eshell/kill): Fix handling of commands like
"kill 123".  Use REMOTE when signalling PIDs in remote directories.
Signal using process objects when possible.  Report errors when failing
to signal.

* test/lisp/eshell/esh-proc-tests.el (esh-proc-test/kill/process-id)
(esh-proc-test/kill/process-object): New tests (bug#72013).

(cherry picked from commit 259f4613bdea27abf330b58a9683ca4a9e936777)
lisp/eshell/esh-proc.el
test/lisp/eshell/esh-proc-tests.el