1#![doc = include_str!("../README.md")]
2mod exit_status;
3mod foreground;
4mod util;
5
6#[cfg(target_os = "freebsd")]
7mod freebsd;
8#[cfg(any(target_os = "android", target_os = "linux"))]
9mod linux;
10#[cfg(target_os = "macos")]
11mod macos;
12#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
13mod netbsd;
14pub mod os_info;
15#[cfg(target_os = "windows")]
16mod windows;
17
18pub use self::exit_status::ExitStatus;
19#[cfg(unix)]
20pub use self::foreground::stdin_fd;
21pub use self::foreground::{
22 ForegroundChild, ForegroundGuard, ForegroundWaitStatus, UnfreezeHandle,
23};
24
25pub use self::util::*;
26
27#[cfg(target_os = "freebsd")]
28pub use self::freebsd::*;
29#[cfg(any(target_os = "android", target_os = "linux"))]
30pub use self::linux::*;
31#[cfg(target_os = "macos")]
32pub use self::macos::*;
33#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
34pub use self::netbsd::*;
35#[cfg(target_os = "windows")]
36pub use self::windows::*;