<String> Current working directory of the child process
<Object> Environment key-value pairs
<String> Explicitly set the value of argv[0] sent to the child process. This will be set to command if not specified.
<Array> | <String> Child's stdio configuration. (See options.stdio)
<Boolean> Prepare child to run independently of its parent process. Specific behavior depends on the platform, see options.detached)
<Number> Sets the user identity of the process. (See setuid(2).)
<Number> Sets the group identity of the process. (See setgid(2).)
<Boolean> | <String> If true, runs command inside of a shell. Uses '/bin/sh' on UNIX, and 'cmd.exe' on Windows. A different shell can be specified as a string. The shell should understand the -c switch on UNIX, or /d /s /c on Windows. Defaults to false (no shell).
<String> Explicitly set the value of argv[0] sent to the child process.
<String> Explicitly set the value of argv[0] sent to the child process. This will be set to command if not specified.
<String> Current working directory of the child process
<Boolean> Prepare child to run independently of its parent process.
<Boolean> Prepare child to run independently of its parent process. Specific behavior depends on the platform, see options.detached)
<Object> Environment key-value pairs
<Number> Sets the group identity of the process.
<Number> Sets the group identity of the process. (See setgid(2).)
<Boolean> | <String> If true, runs command inside of a shell.
<Boolean> | <String> If true, runs command inside of a shell. Uses '/bin/sh' on UNIX, and 'cmd.exe' on Windows. A different shell can be specified as a string. The shell should understand the -c switch on UNIX, or /d /s /c on Windows. Defaults to false (no shell).
<Array> | <String> Child's stdio configuration.
<Array> | <String> Child's stdio configuration. (See options.stdio)
<Number> Sets the user identity of the process.
<Number> Sets the user identity of the process. (See setuid(2).)
Spawn Options