import { type OutputHandler } from "https://deno.land/x/proc@0.20.17/legacy/mod.ts";
The interface of an output handler.
Properties
processOutput: () => B | Promise<B>
stdout: MultiCloseReader,
stderr: MultiCloseReader,
process: MultiCloseProcess,
input: { stdin: MultiCloseWriter; handlerResult: Promise<null | Error>; },
Handle the output (stdout, stderr, and exit status) of a process.
stdin
is included so that it can be closed. It must not be read from the output handler.