Fix std::process hello world example
This commit is contained in:
parent
e788e90bad
commit
bb74b13b74
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
//! use std::process::Command;
|
||||
//!
|
||||
//! // Note that by default, the output of the command will be sent to stdout
|
||||
//! let child = Command::new("echo")
|
||||
//! let mut child = Command::new("echo")
|
||||
//! .arg("Hello world")
|
||||
//! .spawn()
|
||||
//! .expect("Failed to start process");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue