[python] How to run a subprocess with Python, wait for it to exit and get the full stdout as a string?