Optional blockOptional cwdString. If present, set the working directory of the new process.
Optional envObject. If present, set the process environment from the object key-value pairs. Otherwise use the same environment as the current process.
Optional fileString (default = args[0]). Set the file to be executed.
Optional gidInteger. If present, the process gid with setgid.
Optional stderrIf present, set the handle in the child for stdin, stdout or stderr.
Optional stdinIf present, set the handle in the child for stdin, stdout or stderr.
Optional stdoutIf present, set the handle in the child for stdin, stdout or stderr.
Optional uidInteger. If present, the process uid with setuid.
Optional useBoolean (default = true). If true, the file is searched in the PATH
environment variable.
Generated using TypeDoc
Boolean (default =
true). Iftrue, wait until the process is terminated. In this case, exec return the exit code if positive or the negated signal number if the process was interrupted by a signal. If false, do not block and return the process id of the child.