async-process
async-process copied to clipboard
Async interface for working with processes
in an async program, it is pretty common to want to be able to wait on something like `read.or(write).or(exit)`, which isn't actually possible with the current api, since calling `status`...
I've noticed in #4 that the waiting for signals on unix is more heavy-weight than it probably deserves. The `signal-hook::iterator::Signals` is the most comfortable interface for application usage, as it...
Both `unix::CommandExt` and `windows::CommandExt` are not intended to be implemented by users, and they should be [sealed](https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed). Note that this is a breaking change. (However, given the standard library added...
This is needed for some arguments to work correctly on some commands: https://doc.rust-lang.org/nightly/std/os/windows/process/trait.CommandExt.html#tymethod.raw_arg related to: https://github.com/rust-lang/rust/issues/29494
I was going to try to implement I/O safety types on the handles as per sunfishcode/io-lifetimes#38, but then I realized that `ChildStdin`, `ChildStdout` and `ChildStderr` don't implement `AsRawFd` at all....
This commit adds a new backend for the process reaper. Rather than waiting on a signal, it instead registers the process's pidfd into async-io and waits on that instead. I've...
Right now, we use `SIGPROC` to wait for process events on Unix and thread pooling to wait for process events on Windows. This is a very inefficient strategy that doesn't...
https://docs.rs/tokio/latest/tokio/process/struct.Command.html Is there a reason to use this one over Tokio's command? I landed here due to someone else having issues when receiving SIGCHLD in their process, wondering if I...
Hello! Thanks for the great library, I'm finding it very useful in my current project however I think I've recently run into a bug when spawning an async command converted...
Satisfying needs of `get_program` and `get_args` of `std::process::Command` for debug.