Closed nerdynucleon closed 6 years ago
This is not the right solution to avoid a resource warning.
The correct solution is to add a process.wait() call after calling process.terminate() in workerLaunch.py. This ensures that a return code will be set by the time the subprocess del method is executed.
If a Popen.terminate() is called without setting an exit code a resource warning is displayed. Reproducible on Python >3.6