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

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

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

Source stdin from a string[]. stdin is closed once the text data is written.

Properties

readonly
failOnEmptyInput: boolean

Methods

processInput(input: string[], stdin: MultiCloseWriter): Promise<void>