Function: eshell-do-subjob
eshell-do-subjob is a macro defined in esh-cmd.el.gz.
Signature
(eshell-do-subjob OBJECT)
Documentation
Evaluate a command OBJECT as a subjob.
We indicate that the process was run in the background by returning it as (:eshell-background . PROCESSES).
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defmacro eshell-do-subjob (object)
"Evaluate a command OBJECT as a subjob.
We indicate that the process was run in the background by
returning it as (:eshell-background . PROCESSES)."
`(let ((eshell-current-subjob-p t)
;; Print subjob messages. This could have been cleared
;; (e.g. by `eshell-source-file', which see).
(eshell-subjob-messages t))
(eshell-resume-eval (eshell-add-command ',object 'background))))