A range that is first filtered for non-null values. The zeroth element of the resulting range is the program and any remaining elements are the command-line arguments.
The working directory for the new process. By default the child process inherits the parent's working directory.
Log level to log execution on.
Output of command.
std.process.ProcessException on command failure
auto greeting = executeCommand(["echo", "hello", "world"]); assert(greeting == "hello world\n");
Execute command and return the output. Logs execution and throws an exception on failure.