New submission from GranPrego :
On windows 7 / 10 I'm using subprocess to launch a dos cmdline executable and
returning the results, which is all working fine.
However, each time I make a call, the Python handle count is gradually
increasing, jumping up , back a few, then jumping up and
GranPrego added the comment:
Process explorer is showing the handles as belonging to the python executable.
I can see the cmd process start,then the executable which terminates cleanly.
I can see thread handles appearing under the python process, with some
terminating, but more green than
GranPrego added the comment:
I'm now pretty convinced that sounddevice 0.3.11 library is the culprit, which
may in turn point to the portaudio library, or CFFI.
I make a call to sd.play() just before calling subprocess to run the dos cmd,
the timing was such that process explorer would