The exit code of the spawned process. Rather than allowing null, this will be set to 1 if the process exits with null, or 0 if user cancels with ctrl+c.
OptionalcwdThe current working directory of the spawned process. Not changed by method, so just repeating your SpawnOptions.cwd back to you, but helpful for debugging.
OptionalerrorNot an error from the child process stderr, but rather an error thrown when attempting to spawn the child process.
The stderr of the spawned process. Warning: this will be empty by default without changing SpawnOptions stdio (see spawnAsync).
The stdout of the spawned process. Warning: this will be empty by default without changing SpawnOptions stdio (see spawnAsync).
Options for the spawnAsync wrapper function for NodeJS spawn.