Skip to main content
The Deno 2 Release Candidate is 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.
Very Popular
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[]>