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

x/proc/src/enumerable.ts>ProcessEnumerable

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class ProcessEnumerable
extends Enumerable<Uint8Array>
import { ProcessEnumerable } from "https://deno.land/x/proc@0.20.22/src/enumerable.ts";

Enumerable which may be substituted when we know we are returning Uint8Array data.

Constructors

new
ProcessEnumerable(process: Process<S>)

Properties

readonly
lines: Enumerable<string>

Convert the output to text lines.

Note that this should probably only be used with small data. Consider chunkedLines to improve performance with larger data.

readonly
pid

Process PID.

readonly
status

Process status.