Another attempt
This commit is contained in:
parent
9df2b6a98a
commit
2727c82e02
@ -15,11 +15,11 @@ fn main() {
|
||||
if output.status.success() {
|
||||
let std_out = std::str::from_utf8(&output.stdout).unwrap();
|
||||
if std_out.len() > 0 {
|
||||
println!("{}", std_out);
|
||||
print!("{}", std_out);
|
||||
}
|
||||
let std_err = std::str::from_utf8(&output.stderr).unwrap();
|
||||
if std_err.len() > 0 {
|
||||
println!("{}", std_err);
|
||||
print!("{}", std_err);
|
||||
}
|
||||
} else {
|
||||
std::process::exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user