Function: eshell-round-robin-kill

eshell-round-robin-kill is a byte-compiled function defined in esh-proc.el.gz.

Signature

(eshell-round-robin-kill &optional QUERY)

Documentation

Kill current process by trying various signals in sequence.

See the variable eshell-kill-processes-on-exit.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-proc.el.gz
(defun eshell-round-robin-kill (&optional query)
  "Kill current process by trying various signals in sequence.
See the variable `eshell-kill-processes-on-exit'."
  (catch 'done
    (dolist (sig eshell-kill-process-signals)
      (eshell-process-interact
       (lambda (proc) (signal-process proc sig)) t query)
      (when (eshell-wait-for-processes (mapcar #'car eshell-process-list)
                                       eshell-kill-process-wait-time)
        (throw 'done nil))
      (setq query nil))))