How do I get the output of a command in Rust?

stdout is a method on the Command struct, i.e. it configures the child process. The parent process already has its standard streams configured.

1 Like

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.