Add process submodule as unstable (#310)

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
pull/327/head
Yoshua Wuyts 5 years ago committed by Stjepan Glavina
parent e1deaa58d8
commit 612a94b31e

@ -66,6 +66,8 @@ cfg_if! {
pub mod path;
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
pub mod pin;
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
pub mod process;
mod unit;
mod vec;

@ -0,0 +1,14 @@
//! A module for working with processes.
//!
//! This module is mostly concerned with spawning and interacting with child processes, but it also
//! provides abort and exit for terminating the current process.
//!
//! This is an async version of [`std::process`].
//!
//! [`std::process`]: https://doc.rust-lang.org/std/process/index.html
// Re-export structs.
pub use std::process::{ExitStatus, Output};
// Re-export functions.
pub use std::process::{abort, exit, id};
Loading…
Cancel
Save