Inherit stdio to child process

This commit is contained in:
Matthias Beyer 2018-03-12 22:43:26 +01:00
parent fb9866bd46
commit 45be292dd3

View file

@ -205,6 +205,9 @@ fn main() {
.iter()
.map(|command| {
match Command::new(format!("imag-{}", command))
.stdin(::std::process::Stdio::inherit())
.stdout(::std::process::Stdio::inherit())
.stderr(::std::process::Stdio::inherit())
.arg("--version")
.output()
.map(|v| v.stdout)