[issue32383] subprocess.Popen() is slower than subprocess.run()

2017-12-20 Thread Николай Соколов
Николай Соколов added the comment: I incorrectly used the loop to check if the process is alive: while process.poll() is None: pass else: stdout, stderr = process.communicate() -- resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue32383] subprocess.Popen() is slower than subprocess.run()

2017-12-20 Thread Николай Соколов
New submission from Николай Соколов : Hello. I noticed different speed of application, which was execute with subprocess.Popen() and subprocess.run(). I tested on Linux Ubuntu 17.04 and Windows 10. My command line is: "ffmpeg -i big_buck_bunny_480p_surround-fix.avi -f null -" you can use