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

x/proc/legacy/mod.ts>Group

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
interface Group
implements [Deno.Closer]
Re-export
import { type Group } from "https://deno.land/x/proc@0.20.17/legacy/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.