SpawnProcessOptions
SpawnProcessOptions =
StartProcessOptions&object
Defined in: packages/node/src/process/spawn-process.ts:9
Type Declaration
Section titled “Type Declaration”capture?
Section titled “capture?”
readonlyoptionalcapture?:ProcessCapture|null
Default "both".
encoding?
Section titled “encoding?”
readonlyoptionalencoding?:BufferEncoding|null
Default "utf8".
maxBuffer?
Section titled “maxBuffer?”
readonlyoptionalmaxBuffer?:number|null
Per-stream cap on what is buffered. Default 8 MiB.
throwOnNonZero?
Section titled “throwOnNonZero?”
readonlyoptionalthrowOnNonZero?:boolean|null
Throw on a non-zero exit code or a terminating signal. Default true.