interface SpawnOptions {
    cwd?: string;
    encoding?: string;
    env?: Record<string, string>;
}

Hierarchy (view full)

Properties

Properties

cwd?: string

Current working directory.

encoding?: string

Character encoding for stdout/stderr

Since

2.0.0

env?: Record<string, string>

Environment variables. set to null to clear the process env.