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, stderr=subprocess.STDOUT)
print(result)
This only saves the output, I can't see the output on terminal.
How can I do both?
Thanks.