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

View file

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