Function: eshell-tail-process

eshell-tail-process is a byte-compiled function defined in esh-cmd.el.gz.

Signature

(eshell-tail-process)

Documentation

Return the currently running process at the tail of any pipeline.

This only returns external (non-Lisp) processes.

Aliases

eshell-interactive-process (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defsubst eshell-tail-process ()
  "Return the currently running process at the tail of any pipeline.
This only returns external (non-Lisp) processes."
  (car (last (cadr eshell-foreground-command))))