summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-04-22 14:37:56 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-04-22 14:37:56 +0200
commit909240fc24c8a6ed137365ec2a66e2812c713955 (patch)
treeb72e496257915d3da6ef0ec6e669acee2959931c
parent495ad62be63b527588ac9a87066f25dda06e8235 (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.rs2
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()