File tree 1 file changed +24
-0
lines changed
src/tools/run-make-support/src
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,30 @@ macro_rules! impl_common_helpers {
70
70
self
71
71
}
72
72
73
+ /// Configuration for the child process’s standard input (stdin) handle.
74
+ ///
75
+ /// See [`std::process::Command::stdin`].
76
+ pub fn stdin<T : Into <Stdio >>( & mut self , cfg: T ) -> & mut Self {
77
+ self . cmd. stdin( cfg) ;
78
+ self
79
+ }
80
+
81
+ /// Configuration for the child process’s standard output (stdout) handle.
82
+ ///
83
+ /// See [`std::process::Command::stdout`].
84
+ pub fn stdout<T : Into <Stdio >>( & mut self , cfg: T ) -> & mut Self {
85
+ self . cmd. stdout( cfg) ;
86
+ self
87
+ }
88
+
89
+ /// Configuration for the child process’s standard error (stderr) handle.
90
+ ///
91
+ /// See [`std::process::Command::stderr`].
92
+ pub fn stderr<T : Into <Stdio >>( & mut self , cfg: T ) -> & mut Self {
93
+ self . cmd. stderr( cfg) ;
94
+ self
95
+ }
96
+
73
97
/// Inspect what the underlying [`Command`] is up to the
74
98
/// current construction.
75
99
pub fn inspect<I >( & mut self , inspector: I ) -> & mut Self
You can’t perform that action at this time.
0 commit comments