eshell-protect

eshell-protect is a Lisp macro in `esh-cmd.el'.

(eshell-protect OBJECT)

Protect I/O handles, so they aren't get closed after eval'ing OBJECT.