Type Definition assert_cmd::OutputResult[][src]

type OutputResult = Result<Output, OutputError>;

std::process::Output represented as a Result.

Examples

use assert_cmd::prelude::*;

use std::process::Command;

let result = Command::new("echo")
    .args(&["42"])
    .ok();
assert!(result.is_ok());