summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-03-12 23:22:17 +0100
committerGitHub <noreply@github.com>2018-03-12 23:22:17 +0100
commitdc76729bea6bd7ff7e096ab629cf0f54f3c86f96 (patch)
treed01dc9c84f5d30d2ebb29e160bef5e7079714047
parentee72e61b444d5c75967447d18f7cb8108fc12fb7 (diff)
parent45be292dd32e2af6135b35f0bf86e0f6e5285647 (diff)
downloadimag-dc76729bea6bd7ff7e096ab629cf0f54f3c86f96.zip
imag-dc76729bea6bd7ff7e096ab629cf0f54f3c86f96.tar.gz
Merge pull request #1345 from matthiasbeyer/imag/inherit-stdio
Inherit stdio to child process
-rw-r--r--bin/core/imag/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs
index f13ba6c..396c515 100644
--- a/bin/core/imag/src/main.rs
+++ b/bin/core/imag/src/main.rs
@@ -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)