Options for the spawn method.

Fields

@:optionaloptionaluid:Null<Int>

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

@:optionaloptionalstdio:Null<ChildProcessSpawnOptionsStdio>

Child's stdio configuration.

@: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).

@:optionaloptionalenv:Null<DynamicAccess<String>>

Environment key-value pairs

@:optionaloptionaldetached:Null<Bool>

The child will be a process group leader.

@:optionaloptionalcwd:Null<String>

Current working directory of the child process.