eshell-set-output-handle

eshell-set-output-handle is a compiled Lisp function in `esh-io.el'.

(eshell-set-output-handle INDEX MODE &optional TARGET)

Set handle INDEX, using MODE, to point to TARGET.