Hierarchy

Properties

argv0?: string
cwd?: string | URL
detached?: boolean
env?: ProcessEnv
gid?: number
ignoreStdio?: boolean
killSignal?: number | Signals

The signal value to be used when the spawned process will be killed by the abort signal.

Default

'SIGTERM'
serialization?: SerializationType

Specify the kind of serialization used for sending messages between processes.

Default

'json'
shell?: string | boolean
signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

stdio?: StdioOptions
throwable?: boolean

make function throws when error occurs

timeout?: number

Default

0
uid?: number
verbose?: boolean

verbose

windowsHide?: boolean

Default

false
windowsVerbatimArguments?: boolean