Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/legacy/runners/handlers/bytes-handlers.ts>BytesOutputHandler

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class BytesOutputHandler
extends AbstractBytesOutputHandler<Uint8Array>
import { BytesOutputHandler } from "https://deno.land/x/proc@0.20.5/legacy/runners/handlers/bytes-handlers.ts";

Return stdout as a Uint8Array.

Constructors

new
BytesOutputHandler(processStderr: StderrProcessor, errorHandler: ErrorHandler)

Methods

processOutput(
input: { stdin: MultiCloseWriter; handlerResult: Promise<null | Error>; },
): Promise<Uint8Array>