Skip to main content
Go to Latest
interface ChildProcessOptions
import { type ChildProcessOptions } from "https://deno.land/std@0.177.0/node/internal/child_process.ts";

Properties

optional
cwd: string

Current working directory of the child process.

optional
env: Record<string, string | number | boolean>

Environment variables passed to the child process.

optional
stdio: Array<
| NodeStdio
| number
| null
| undefined
> | NodeStdio

This option defines child process's stdio configuration.

optional
detached: boolean

NOTE: This option is not yet implemented.

optional
uid: number

NOTE: This option is not yet implemented.

optional
gid: number

NOTE: This option is not yet implemented.

optional
argv0: string

NOTE: This option is not yet implemented.

optional
shell: string | boolean
  • If this option is true, run the command in the shell.
  • If this option is a string, run the command in the specified shell.
optional
signal: AbortSignal

Allows aborting the child process using an AbortSignal.

optional
serialization: "json" | "advanced"

NOTE: This option is not yet implemented.

optional
windowsVerbatimArguments: boolean

No quoting or escaping of arguments is done on Windows. Ignored on Unix. Default: false.

optional
windowsHide: boolean

NOTE: This option is not yet implemented.