1 2 3 4 5 6 7 8 9 10 11
use printable_shell_command::{PrintableShellCommand, ShellPrintable}; fn main() { assert!(PrintableShellCommand::new("cargo") .arg("--version") .print_invocation() .unwrap() .status() .unwrap() .success()); }