oconnor663 / duct.rs

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

Support async (tokio) processes #93

Open sunshowers opened 3 years ago

sunshowers commented 3 years ago

Tokio has a Command struct which provides async command handling, using signals on Unix and native APIs on Windows. Wondering how hard it would be to make duct support tokio commands in addition to std::process::Command instances.

oconnor663 commented 3 years ago

Not sure off the top of my head. Would most of the APIs have to change to make this work? Might end up being easier to just fork the crate?