oxalica / waitpid-any

waitpid(2) but for arbitrary non-child processes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

waitpid-any: Wait for any PID

crates.io docs.rs CI Status

waitpid(2) can only be used to wait for direct child processes, or it fails immediately.

This crate provides a extension to wait for the exit of any process, not necessarily child processes. Due to platform limitations, the exit reason and status codes still cannot be retrieved.

License

waitpid-any is distributed under the terms of either the MIT or the Apache 2.0 license, at your option. See LICENSE-MIT and LICENSE-APACHE for details.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

About

waitpid(2) but for arbitrary non-child processes

License:Apache License 2.0


Languages

Language:Rust 96.0%Language:Nix 4.0%