Inherit stdio to child process
This commit is contained in:
parent
fb9866bd46
commit
45be292dd3
1 changed files with 3 additions and 0 deletions
|
@ -205,6 +205,9 @@ fn main() {
|
||||||
.iter()
|
.iter()
|
||||||
.map(|command| {
|
.map(|command| {
|
||||||
match Command::new(format!("imag-{}", command))
|
match Command::new(format!("imag-{}", command))
|
||||||
|
.stdin(::std::process::Stdio::inherit())
|
||||||
|
.stdout(::std::process::Stdio::inherit())
|
||||||
|
.stderr(::std::process::Stdio::inherit())
|
||||||
.arg("--version")
|
.arg("--version")
|
||||||
.output()
|
.output()
|
||||||
.map(|v| v.stdout)
|
.map(|v| v.stdout)
|
||||||
|
|
Loading…
Reference in a new issue