eshell-close-target

eshell-close-target is a compiled Lisp function in `esh-io.el'.

(eshell-close-target TARGET STATUS)

Close an output TARGET, passing STATUS as the result.
STATUS should be non-nil on successful termination of the output.