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:
parent
495ad62be6
commit
909240fc24
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ fn main() {
|
||||||
.map(|command| {
|
.map(|command| {
|
||||||
match Command::new(format!("imag-{}", command))
|
match Command::new(format!("imag-{}", command))
|
||||||
.stdin(::std::process::Stdio::inherit())
|
.stdin(::std::process::Stdio::inherit())
|
||||||
.stdout(::std::process::Stdio::inherit())
|
.stdout(::std::process::Stdio::piped())
|
||||||
.stderr(::std::process::Stdio::inherit())
|
.stderr(::std::process::Stdio::inherit())
|
||||||
.arg("--version")
|
.arg("--version")
|
||||||
.output()
|
.output()
|
||||||
|
|
Loading…
Reference in a new issue