Skip to main content
Go to Latest
interface SpawnSyncOptions
import { type SpawnSyncOptions } from "https://deno.land/std@0.166.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