Options for the fork method.

Fields

@:optionaloptionaluid:Null<Int>

Sets the user identity of the process. See setuid(2).

@:optionaloptionalsilent:Null<Bool>

If true, stdin, stdout, and stderr of the child will be piped to the parent, otherwise they will be inherited from the parent, see the "pipe" and "inherit" options for ChildProcessSpawnOptions.stdio for more details (default is false)

@:optionaloptionalshell:Null<EitherType<Bool, String>>

Shell to execute the command with. Default: '/bin/sh' on UNIX, 'cmd.exe' on Windows.

The shell should understand the -c switch on UNIX or /s /c on Windows. On Windows, command line parsing should be compatible with cmd.exe.

@:optionaloptionalgid:Null<Int>

Sets the group identity of the process. See setgid(2).

@:optionaloptionalexecPath:Null<String>

Executable used to create the child process

@:optionaloptionalexecArgv:Null<Array<String>>

List of string arguments passed to the executable (Default: process.execArgv)

@:optionaloptionalenv:Null<DynamicAccess<String>>

Environment key-value pairs

@:optionaloptionalcwd:Null<String>

Current working directory of the child process.