human
How to get output of exe in python script?
assistant
Here is some code to get output from process `p1`

p1.communicate()[0]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.