OptionalcwdWorking directory for the child process.
OptionalenvEnvironment variables for the child process. Undefined values are dropped.
When given, even as {}, this is the child's complete environment:
process.env is not merged back in (build it with buildSpawnEnv). The
only additions are the platform minimum: on Windows, libuv copies
HOMEDRIVE, HOMEPATH, LOGONSERVER, PATH, SYSTEMDRIVE,
SYSTEMROOT, TEMP, USERDOMAIN, USERNAME, USERPROFILE and WINDIR
from the parent when the env lacks them; POSIX adds nothing.
OptionaltimeoutOptional timeout (ms). Kills the child with SIGKILL on expiry.
Options for runCommandResult (buffered execution).