The signal value to be used when the spawned process will be killed by the abort signal.
interface
child_process.CommonSpawnOptions
interface CommonSpawnOptions
- serialization?: SerializationType
Specify the kind of serialization used for sending messages between processes.
- signal?: AbortSignal
When provided the corresponding
AbortController
can be used to cancel an asynchronous action. - stdio?: StdioOptions
Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings. If passed as an array, the first element is used for
stdin
, the second forstdout
, and the third forstderr
. A fourth element can be used to specify thestdio
behavior beyond the standard streams. See ChildProcess.stdio for more information.