pub fn run_script(
path: &Path,
arguments: &[String],
) -> Result<ExitStatus, RunScriptError>
Expand description
Runs a script from its path
Forwards the given arguments to the scripts
The script will take control over stdin, stdout and stderr during execution
ยงErrors
- Path is not a file;
- Path is not found;
- Script is not executable;
- Error running the script;
- Error parsing script output;