eshell-process-interact

eshell-process-interact is a compiled Lisp function in `esh-proc.el'.

(eshell-process-interact FUNC &optional ALL QUERY)

Interact with a process, using PROMPT if more than one, via FUNC.
If ALL is non-nil, background processes will be interacted with as well.
If QUERY is non-nil, query the user with QUERY before calling FUNC.