mod.rs - source
Description: Source of the Rust file `library/std/src/sys/unix/process/mod.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20

    pub use self::process_common::{Command, CommandArgs, ExitCode, Stdio, StdioPipes};
    pub use self::process_inner::{ExitStatus, Process};
    pub use crate::ffi::OsString as EnvKey;
    pub use crate::sys_common::process::CommandEnvs;

    mod process_common;

    cfg_if::cfg_if! {
        if #[cfg(target_os = "fuchsia")] {
            #[path = "process_fuchsia.rs"]
            mod process_inner;
            mod zircon;
        } else if #[cfg(target_os = "vxworks")] {
            #[path = "process_vxworks.rs"]
            mod process_inner;
        } else {
            #[path = "process_unix.rs"]
            mod process_inner;
        }
    }