The signal value to be used when the spawned process will be killed by the abort signal.
interface
child_process.SpawnSyncOptionsWithBufferEncoding
interface SpawnSyncOptionsWithBufferEncoding
- serialization?: SerializationType
Specify the kind of serialization used for sending messages between processes.
- signal?: AbortSignal
When provided the corresponding
AbortControllercan 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 thestdiobehavior beyond the standard streams. See ChildProcess.stdio for more information.