How to save output and see output in terminal with Subprocess?

后端 未结 0 1460
南旧
南旧 2020-11-29 04:08

How do I save the output AND see the output in the terminal at the same time?

For example:

result = subprocess.run([\'ls\'], stdout=subprocess.PIPE,  s         


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