How to tee stdout/stdeer from a subprocess in Rust

后端 未结 0 1730
无人及你
无人及你 2021-02-05 16:11

I\'d like to capture stdout/stderr of a subprocess but also stream the results to my process\' stdout/stderr as well. In bash I\'d do something like:

my_command &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题