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

x/proc/legacy/runner.ts>runner

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function runner
import { runner } from "https://deno.land/x/proc@0.20.1/legacy/runner.ts";

Define a reusable process runner.

Parameters

input: InputHandler<A>

Handler for the input to the process.

output: OutputHandler<B>

Handler for the output from the process.

Returns

(group?: Group) => Runner<A, B>

A process runner.