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

x/proc/legacy/runners/handlers/string-array-handlers.ts>StringArrayOutputHandler

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

Return stdout as a string[].

Constructors

new
StringArrayOutputHandler(processStderr: StderrProcessor, errorHandler: ErrorHandler)

Methods

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