eshell-copy-handles

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

(eshell-copy-handles OBJECT)

Duplicate current I/O handles, so OBJECT works with its own copy.