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: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=774af4284c2f3dcf401defef77217bef

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!