std/sys/process/
mod.rs

1cfg_if::cfg_if! {
2    if #[cfg(target_family = "unix")] {
3        mod unix;
4        use unix as imp;
5    } else if #[cfg(target_os = "windows")] {
6        mod windows;
7        use windows as imp;
8    } else if #[cfg(target_os = "uefi")] {
9        mod uefi;
10        use uefi as imp;
11    } else {
12        mod unsupported;
13        use unsupported as imp;
14    }
15}
16
17pub use imp::{
18    Command, CommandArgs, EnvKey, ExitCode, ExitStatus, ExitStatusError, Process, Stdio, StdioPipes,
19};