Function: eshell-process-active-p
eshell-process-active-p is a byte-compiled function defined in
esh-proc.el.gz.
Signature
(eshell-process-active-p PROCESS)
Documentation
Return non-nil if PROCESS is active.
This is like process-live-p, but additionally checks whether
eshell-sentinel has finished all of its work yet.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-proc.el.gz
(defun eshell-process-active-p (process)
"Return non-nil if PROCESS is active.
This is like `process-live-p', but additionally checks whether
`eshell-sentinel' has finished all of its work yet."
(or (process-live-p process)
;; If we have handles, this is an Eshell-managed
;; process. Wait until we're 100% done and have
;; cleared out the handles (see `eshell-sentinel').
(process-get process :eshell-handles)))