Fix: Do not inherit stdout here

This caused us to print funny output. But we want to catch the output
and print a nice list ourselves here.
This commit is contained in:
Matthias Beyer 2018-04-22 14:37:56 +02:00
parent 495ad62be6
commit 909240fc24

View file

@ -221,7 +221,7 @@ fn main() {
.map(|command| {
match Command::new(format!("imag-{}", command))
.stdin(::std::process::Stdio::inherit())
.stdout(::std::process::Stdio::inherit())
.stdout(::std::process::Stdio::piped())
.stderr(::std::process::Stdio::inherit())
.arg("--version")
.output()