Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/legacy/runners/handlers/string-handlers.ts>StringInputHandler

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
class StringInputHandler
implements InputHandler<string>
import { StringInputHandler } from "https://deno.land/x/proc@0.20.23/legacy/runners/handlers/string-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>