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