Child::stdout is None even after it was set using Command::stdout

I've been scratching my head here. Not sure why, but my child process stdout is None, even if I've just set a stdout() in the Command builder.

Here's a minimal reproduction: Rust Playground

I feel like I missed something obvious.

stdout is only set if you have configured it to be piped, not with a file as your example does.

Well then. I must've missed it. Thanks!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.