16 releases (8 stable)
|3.1.0||Jul 14, 2021|
|3.0.1||Jan 24, 2021|
|2.0.2||Oct 3, 2020|
|1.1.0||May 18, 2020|
|0.7.0||Mar 17, 2020|
#34 in Concurrency
8,711 downloads per month
Used in 4 crates
This crate allows running a process with a timeout, with the option to terminate it automatically afterward. The latter is surprisingly difficult to achieve on Unix, since process identifiers can be arbitrarily reassigned when no longer used. Thus, it would be extremely easy to inadvertently terminate an unexpected process. This crate protects against that possibility.
Add the following lines to your "Cargo.toml" file:
[dependencies] process_control = "3.1"
See the documentation for available functionality and examples.
The minimum supported Rust toolchain version is currently Rust 1.36.0.
Licensing terms are specified in COPYRIGHT.
Unless you explicitly state otherwise, any contribution submitted for inclusion in this crate, as defined in LICENSE-APACHE, shall be licensed according to COPYRIGHT, without any additional terms or conditions.