eshell-close-handles

eshell-close-handles is an autoloaded compiled Lisp function in `esh-io.el'.

(eshell-close-handles EXIT-CODE &optional RESULT HANDLES)

Close all of the current handles, taking refcounts into account.
EXIT-CODE is the process exit code; mainly, it is zero, if the command
completed successfully. RESULT is the quoted value of the last
command. If nil, then the meta variables for keeping track of the
last execution result should not be changed.