blob: 1938e8f4b737c2b0e635cfa6b5ddedd08052779f [file] [log] [blame] [edit]
#[cfg_attr(any(target_os = "espidf", target_os = "horizon", target_os = "nuttx"), allow(unused))]
mod common;
cfg_select! {
target_os = "fuchsia" => {
mod fuchsia;
use fuchsia as imp;
}
target_os = "vxworks" => {
mod vxworks;
use vxworks as imp;
}
any(target_os = "espidf", target_os = "horizon", target_os = "vita", target_os = "nuttx") => {
mod unsupported;
use unsupported as imp;
pub use unsupported::output;
}
_ => {
mod unix;
use unix as imp;
}
}
pub use imp::{ExitStatus, ExitStatusError, Process};
pub use self::common::{ChildPipe, Command, CommandArgs, ExitCode, Stdio, read_output};
pub use crate::ffi::OsString as EnvKey;