Optionalcleanup: CleanupSpawn the specified program as a "foreground" process, or at least as close as is possible given node's lack of exec-without-fork.
Cleanup method may be used to modify or ignore the result of the child's exit code or signal. If cleanup returns undefined (or a Promise that resolves to undefined), then the parent will exit in the same way that the child did.
Return boolean false to prevent the parent's exit entirely.
Optionalargs: string[]Optionalcleanup: CleanupSpawn the specified program as a "foreground" process, or at least as close as is possible given node's lack of exec-without-fork.
Cleanup method may be used to modify or ignore the result of the child's exit code or signal. If cleanup returns undefined (or a Promise that resolves to undefined), then the parent will exit in the same way that the child did.
Return boolean false to prevent the parent's exit entirely.
OptionalspawnOpts: SpawnOptionsOptionalcleanup: CleanupSpawn the specified program as a "foreground" process, or at least as close as is possible given node's lack of exec-without-fork.
Cleanup method may be used to modify or ignore the result of the child's exit code or signal. If cleanup returns undefined (or a Promise that resolves to undefined), then the parent will exit in the same way that the child did.
Return boolean false to prevent the parent's exit entirely.
Optionalargs: string[]OptionalspawnOpts: SpawnOptionsOptionalcleanup: Cleanup
Spawn the specified program as a "foreground" process, or at least as close as is possible given node's lack of exec-without-fork.
Cleanup method may be used to modify or ignore the result of the child's exit code or signal. If cleanup returns undefined (or a Promise that resolves to undefined), then the parent will exit in the same way that the child did.
Return boolean
falseto prevent the parent's exit entirely.