std/sys/process/unix/
mod.rs

1#[cfg_attr(any(target_os = "espidf", target_os = "horizon", target_os = "nuttx"), allow(unused))]
2mod common;
3
4cfg_if::cfg_if! {
5    if #[cfg(target_os = "fuchsia")] {
6        mod fuchsia;
7        use fuchsia as imp;
8    } else if #[cfg(target_os = "vxworks")] {
9        mod vxworks;
10        use vxworks as imp;
11    } else if #[cfg(any(target_os = "espidf", target_os = "horizon", target_os = "vita", target_os = "nuttx"))] {
12        mod unsupported;
13        use unsupported as imp;
14    } else {
15        mod unix;
16        use unix as imp;
17    }
18}
19
20pub use imp::{ExitStatus, ExitStatusError, Process};
21
22pub use self::common::{Command, CommandArgs, ExitCode, Stdio, StdioPipes};
23pub use crate::ffi::OsString as EnvKey;