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 3883153 commit 31bde68Copy full SHA for 31bde68
src/child.rs
@@ -140,6 +140,8 @@ impl<S> Child<S> {
140
/// output into this `Result<Output>` it is necessary to create new pipes between parent and
141
/// child. Use `stdout(Stdio::piped())` or `stderr(Stdio::piped())`, respectively.
142
pub async fn wait_with_output(mut self) -> Result<Output, Error> {
143
+ self.stdin().take();
144
+
145
let child_stdout = self.stdout.take();
146
let stdout_read = async move {
147
let mut stdout = Vec::new();
0 commit comments