ianfab / fishtest

distributed chess variant engine testing
http://variantfishtest.org
5 stars 0 forks source link

Fix OSError raised by Popen.kill() with a terminated PID #5

Closed ppigazzini closed 7 years ago

ppigazzini commented 7 years ago

With MSYS2 python, using Popen.kill() with a terminated PID raises an OSError https://bugs.python.org/issue6973 Drop the Popen.kill() call, and use Popen.communicate(), that wait for process to terminate, to end the subprocess started to load the CPU.