This fix is possibly related to the problem described in #94 by @yanivy-nr.
It happens from time to time that subprocess close() stalls forever. I guess the reason is a raise conditions when terminating the process and closing the piped streams.
A note in Python's subprocess documentation suggests to use following code snipped to properly terminate/kill a subprocess:
This fix is possibly related to the problem described in #94 by @yanivy-nr.
It happens from time to time that subprocess close() stalls forever. I guess the reason is a raise conditions when terminating the process and closing the piped streams.
A note in Python's subprocess documentation suggests to use following code snipped to properly terminate/kill a subprocess: