pub async fn exec(
argv: &[&str],
cwd: Option<PathBuf>,
) -> Result<ExecutionResult>
Expand description
Execute the process single time with custom command-line arguments.
Useful to obtain a version via --version
or perform single-task
executions - not as a daemon.