Message278129
_subprocess.TerminateProcess(self._handle, 1)
is not enough, on windows need to call self._handle.Close() after that
self._handle.Close() should be also called in __del__ - for the process es that ware not killed bu user, but terminated by themselves.
To reproduce... run popen in loop and observe file descriptors usage (SysInternals... handle -s -p <pid>) |
|
Date |
User |
Action |
Args |
2016-10-05 14:53:26 | Mateusz Klatt | set | recipients:
+ Mateusz Klatt |
2016-10-05 14:53:26 | Mateusz Klatt | set | messageid: <1475679206.56.0.813487481998.issue28364@psf.upfronthosting.co.za> |
2016-10-05 14:53:26 | Mateusz Klatt | link | issue28364 messages |
2016-10-05 14:53:26 | Mateusz Klatt | create | |
|