Options for the execFile method.

Fields

@:optionaloptionaluid:Null<Int>

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

@:optionaloptionaltimeout:Null<Int>

If greater than 0, then it will kill the child process if it runs longer than timeout milliseconds.

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

@:optionaloptionalmaxBuffer:Null<Int>

The largest amount of data allowed on stdout or stderr. If this value is exceeded then the child process is killed. Default: 200*1024

@:optionaloptionalkillSignal:Null<String>

The child process is killed with killSignal (default: 'SIGTERM').

@:optionaloptionalgid:Null<Int>

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

@:optionaloptionalenv:Null<DynamicAccess<String>>

Environment key-value pairs

@:optionaloptionalencoding:Null<String>

Default: 'utf8'

@:optionaloptionalcwd:Null<String>

Current working directory of the child process.