Interface ForkOptions

Hierarchy

Properties

cwd?: string | URL
detached?: boolean
env?: ProcessEnv
execArgv?: string[]
execPath?: string
gid?: number
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'
signal?: AbortSignal

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

silent?: boolean
stdio?: StdioOptions
timeout?: number

In milliseconds the maximum amount of time the process is allowed to run.

uid?: number
windowsVerbatimArguments?: boolean

Generated using TypeDoc