File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: cf053d72a038fc100d7fbb0875d281fcfedfd452
5
+ refs/heads/try: 3abba10e4f01e317614e4d4b25682a87dac3a23e
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ use thread;
41
41
/// use std::process::Command;
42
42
///
43
43
/// let mut child = Command::new("/bin/cat")
44
- /// .arg("file.txt")
45
- /// .spawn()
46
- /// .unwrap_or_else(|e| { panic!("failed to execute child: {}", e) });
44
+ /// .arg("file.txt")
45
+ /// .spawn()
46
+ /// .unwrap_or_else(|e| { panic!("failed to execute child: {}", e) });
47
47
///
48
48
/// let ecode = child.wait()
49
- /// .unwrap_or_else(|e| { panic!("failed to wait on child: {}", e) });
49
+ /// .unwrap_or_else(|e| { panic!("failed to wait on child: {}", e) });
50
50
///
51
51
/// assert!(ecode.success());
52
52
/// ```
@@ -123,10 +123,10 @@ impl Read for ChildStderr {
123
123
/// use std::process::Command;
124
124
///
125
125
/// let output = Command::new("sh")
126
- /// .arg("-c")
127
- /// .arg("echo hello")
128
- /// .output()
129
- /// .unwrap_or_else(|e| { panic!("failed to execute process: {}", e) });
126
+ /// .arg("-c")
127
+ /// .arg("echo hello")
128
+ /// .output()
129
+ /// .unwrap_or_else(|e| { panic!("failed to execute process: {}", e) });
130
130
/// let hello = output.stdout;
131
131
/// ```
132
132
#[ stable( feature = "process" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments