1#[cfg(target_os = "linux")]
12mod proc_state;
13mod process_tree;
14mod registry;
15mod scoped_child;
16mod spawn_retry;
17
18pub use process_tree::{ChildCleanup, ProcessTree, cleanup_std_child, configure_std_command};
19#[cfg(feature = "tokio")]
20pub use process_tree::{cleanup_tokio_child, configure_tokio_command};
21pub use scoped_child::{ProcessTreeTerminator, ScopedChild, output, status};
22pub use spawn_retry::spawn_retrying_busy_executable;
23#[cfg(feature = "tokio")]
24pub use spawn_retry::spawn_tokio_retrying_busy_executable;
25
26pub fn drain_and_kill() {
29 registry::drain_and_kill();
30}