forked from mirror/async-std
Add process submodule as unstable (#310)
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
e1deaa58d8
commit
612a94b31e
2 changed files with 16 additions and 0 deletions
|
@ -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;
|
||||
|
|
14
src/process/mod.rs
Normal file
14
src/process/mod.rs
Normal file
|
@ -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…
Reference in a new issue