The signal value to be used when the spawned process will be killed by the abort signal.
interface
child_process.SpawnOptionsWithStdioTuple
interface SpawnOptionsWithStdioTuple<Stdin extends StdioNull | StdioPipe, Stdout extends StdioNull | StdioPipe, Stderr extends StdioNull | StdioPipe>
- 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: [Stdin, Stdout, Stderr]
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.