We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e8d66 commit 1023697Copy full SHA for 1023697
src/tools/run-make-support/src/command.rs
@@ -4,6 +4,9 @@ use std::io::Write;
4
use std::ops::{Deref, DerefMut};
5
use std::process::{Command as StdCommand, ExitStatus, Output, Stdio};
6
7
+/// This is a custom command wrapper that simplifies working with commands
8
+/// and makes it easier to ensure that we check the exit status of executed
9
+/// processes.
10
#[derive(Debug)]
11
pub struct Command {
12
cmd: StdCommand,
@@ -83,6 +86,8 @@ impl DerefMut for Command {
83
86
}
84
87
85
88
/// Represents the result of an executed process.
89
+/// The various `assert_` helper methods should preferably be used for
90
+/// checking the contents of stdout/stderr.
91
pub struct CompletedProcess {
92
output: Output,
93
0 commit comments