We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e90132a + fa52f1a commit 9dfeab3Copy full SHA for 9dfeab3
library/std/src/sys/unix/process/process_common.rs
@@ -355,6 +355,21 @@ impl Command {
355
self.stderr = Some(stderr);
356
}
357
358
+ #[allow(dead_code)]
359
+ pub fn get_stdin(&self) -> Option<&Stdio> {
360
+ self.stdin.as_ref()
361
+ }
362
+
363
364
+ pub fn get_stdout(&self) -> Option<&Stdio> {
365
+ self.stdout.as_ref()
366
367
368
369
+ pub fn get_stderr(&self) -> Option<&Stdio> {
370
+ self.stderr.as_ref()
371
372
373
pub fn env_mut(&mut self) -> &mut CommandEnv {
374
&mut self.env
375
0 commit comments