What’s the correct way to forward stdout of a subprocess to the stdout of the current process in Rust?
I’m having a difficulty figuring out how to forward stdout of a command to the current process’s stdout. What I currently have is this, but it slurps in all of the content of stdout, and doesn’t account for processes writing to stdout in chunks before the process terminates: