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 false to prevent the parent's exit entirely.
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
false
to prevent the parent's exit entirely.