pub fn process_error(
    msg: &str,
    status: Option<ExitStatus>,
    output: Option<&Output>
) -> ProcessError
Expand description

Creates a new process error.

status can be None if the process did not launch. output can be None if the process did not launch, or output was not captured.