import { type OutputHandler } from "https://deno.land/x/proc@0.20.33/legacy/runners/proc-group.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.