Crate waitpid_any

Source
Expand description

waitpid(2) but for arbitrary non-child processes.

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.

§Implementation details

Structs§

WaitHandle
A locked handle to a process.