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.
1 parent eeedd2c commit 1cb2e96Copy full SHA for 1cb2e96
git-command/src/lib.rs
@@ -75,13 +75,14 @@ mod prepare {
75
/// Note that the default IO is configured for typical API usage, that is
76
///
77
/// - `stdin` is null
78
-/// - `stdout` and `stderr` are captured.
+/// - `stdout` is captured.
79
+/// - `stderr` is null
80
pub fn prepare(cmd: impl Into<OsString>) -> Prepare {
81
Prepare {
82
command: cmd.into(),
83
stdin: std::process::Stdio::null(),
84
stdout: std::process::Stdio::piped(),
- stderr: std::process::Stdio::piped(),
85
+ stderr: std::process::Stdio::null(),
86
use_shell: false,
87
}
88
0 commit comments