#kqueue #process #wait #child-process

waitpid-any

Wait for any PID, an extension to waitpid(2)

3 unstable releases

0.2.1 Nov 19, 2023
0.2.0 Jul 16, 2023
0.1.0 Jul 10, 2023

#285 in Windows APIs

Download history 1537/week @ 2024-07-23 2393/week @ 2024-07-30 2036/week @ 2024-08-06 2690/week @ 2024-08-13 2663/week @ 2024-08-20 3033/week @ 2024-08-27 3198/week @ 2024-09-03 2066/week @ 2024-09-10 2075/week @ 2024-09-17 2133/week @ 2024-09-24 1678/week @ 2024-10-01 2068/week @ 2024-10-08 1388/week @ 2024-10-15 2155/week @ 2024-10-22 1859/week @ 2024-10-29 1684/week @ 2024-11-05

7,405 downloads per month
Used in async-lsp

MIT/Apache

18KB
321 lines

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.

Dependencies

~1–11MB
~133K SLoC