Go to Latest
interface SpawnSyncOptions
import { type SpawnSyncOptions } from "https://dotland.deno.dev/std@0.177.0/node/internal/child_process.ts";

Properties

optional
cwd: string | URL
optional
input: string | Buffer | DataView
optional
argv0: string
optional
stdio: Array<
| NodeStdio
| number
| null
| undefined
> | NodeStdio
optional
env: Record<string, string>
optional
uid: number
optional
gid: number
optional
timeout: number
optional
maxBuffer: number
optional
encoding: string
optional
shell: boolean | string
optional
windowsVerbatimArguments: boolean

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

optional
windowsHide: boolean
optional
killSignal: string

The below options aren't currently supported. However, they're here for validation checks.

optional
detached: boolean