Skip to main content
Module

x/proc/mod3.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>
Re-export
import { ProcessEnumerable } from "https://deno.land/x/proc@0.20.23/mod3.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.