Merge pull request #1437 from matthiasbeyer/imag/fix-doubled-output

Fix: Do not inherit stdout here
This commit is contained in:
Matthias Beyer 2018-04-22 16:12:32 +02:00 committed by GitHub
commit 7d3224a258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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()