Wireup stdout & stderr
This commit is contained in:
parent
9020370f74
commit
43cfac29e8
@ -14,7 +14,9 @@ fn main() {
|
||||
|
||||
if output.status.success() {
|
||||
let std_out = std::str::from_utf8(&output.stdout).unwrap();
|
||||
println!("{}", std_out)
|
||||
println!("{}", std_out);
|
||||
let std_err = std::str::from_utf8(&output.stderr).unwrap();
|
||||
println!("{}", std_err);
|
||||
} else {
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user