1pub use self::process_common::{Command, CommandArgs, ExitCode, Stdio, StdioPipes};
2pub use self::process_inner::{ExitStatus, ExitStatusError, Process};
3pub use crate::ffi::OsString as EnvKey;
4
5#[cfg_attr(any(target_os = "espidf", target_os = "horizon"), allow(unused))]
6mod process_common;
7
8#[cfg(any(target_os = "espidf", target_os = "horizon", target_os = "vita"))]
9mod process_unsupported;
10
11cfg_if::cfg_if! {
12 if #[cfg(target_os = "fuchsia")] {
13 #[path = "process_fuchsia.rs"]
14 mod process_inner;
15 mod zircon;
16 } else if #[cfg(target_os = "vxworks")] {
17 #[path = "process_vxworks.rs"]
18 mod process_inner;
19 } else if #[cfg(any(target_os = "espidf", target_os = "horizon", target_os = "vita"))] {
20 mod process_inner {
21 pub use super::process_unsupported::*;
22 }
23 } else {
24 #[path = "process_unix.rs"]
25 mod process_inner;
26 }
27}
28