Add no_run to process examples involving unix commands
This commit is contained in:
parent
3566832ef3
commit
84ab6aec43
@ -42,7 +42,7 @@
|
||||
//! example, piping output from one command into another command can be done
|
||||
//! like so:
|
||||
//!
|
||||
//! ```
|
||||
//! ```no_run
|
||||
//! use std::process::{Command, Stdio};
|
||||
//!
|
||||
//! // stdout must be configured with `Stdio::piped` in order to use
|
||||
@ -71,7 +71,7 @@
|
||||
//! Note that [`ChildStderr`] and [`ChildStdout`] implement [`Write`] and
|
||||
//! [`ChildStdin`] implements [`Read`]:
|
||||
//!
|
||||
//! ```
|
||||
//! ```no_run
|
||||
//! use std::process::{Command, Stdio};
|
||||
//! use std::io::Write;
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user