Skip to main content
Module

x/proc/mod.ts>Group

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
interface Group
implements [Deno.Closer]
Re-export
import { type Group } from "https://deno.land/x/proc@0.19.12/mod.ts";

A process group.

A process group must be closed to allow it to be garbage collected.

Methods

run<A, B>(
inputHandler: InputHandler<A>,
outputHandler: OutputHandler<B>,
input: A,
options: RunOptions,
): B | Promise<B>

Flat process API.