Add no_run to process examples involving unix commands

This commit is contained in:
Bryan Tan 2017-10-28 20:24:49 -07:00
parent 3566832ef3
commit 84ab6aec43

View File

@ -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;
//!