Skip to main content
Module

x/proc/mod3.ts>ProcessOptions

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
interface ProcessOptions
Re-export
import { type ProcessOptions } from "https://deno.land/x/proc@0.20.8/mod3.ts";

Options passed to a process.

Properties

readonly
optional
cwd: string

Current working directory.

readonly
optional
env: Record<string, string>

Environment variables.

optional
fnStderr: StderrHandler<S>

Optionally process all lines of stderr.

optional
fnError: ErrorHandler<S>

Optionally override error handling.