diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-22 14:37:56 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-22 14:37:56 +0200 |
commit | 909240fc24c8a6ed137365ec2a66e2812c713955 (patch) | |
tree | b72e496257915d3da6ef0ec6e669acee2959931c | |
parent | 495ad62be63b527588ac9a87066f25dda06e8235 (diff) |
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.
-rw-r--r-- | bin/core/imag/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs index 27c82a75..fbaa974e 100644 --- a/bin/core/imag/src/main.rs +++ b/bin/core/imag/src/main.rs @@ -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() |