I want to run a process from a python script, blocking while it runs, and writing the output of the process to stdout.
How would I do this?
I looked at the documentation for 'subprocess' but couldn't work it out.
Editing this question to explain how it's different, as requested: See existing text above: and writing the output of the process to stdout