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_select! {
5    target_os = "fuchsia" => {
6        mod fuchsia;
7        use fuchsia as imp;
8    }
9    target_os = "vxworks" => {
10        mod vxworks;
11        use vxworks as imp;
12    }
13    any(target_os = "espidf", target_os = "horizon", target_os = "vita", target_os = "nuttx") => {
14        mod unsupported;
15        use unsupported as imp;
16        pub use unsupported::output;
17    }
18    _ => {
19        mod unix;
20        use unix as imp;
21    }
22}
23
24pub use imp::{ExitStatus, ExitStatusError, Process};
25
26pub use self::common::{Command, CommandArgs, ExitCode, Stdio, StdioPipes};
27pub use crate::ffi::OsString as EnvKey;