oconnor663 / duct.rs

a Rust library for running child processes
MIT License
819 stars 34 forks source link

Add a .reader() method #74

Closed oconnor663 closed 5 years ago

oconnor663 commented 5 years ago

Initially discussed in https://github.com/oconnor663/duct.rs/issues/69. We could expose a reader type that automatically awaits the child on EOF.

oconnor663 commented 5 years ago

Another request for this was https://github.com/mullvad/mullvadvpn-app/pull/91#issuecomment-372813857.