[Python-ideas] Hooks into the IO system to intercept raw file reads/writes
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Feb 4 12:32:27 CET 2015
Paul Moore wrote:
> It works for me, but I get an error on termination:
>
> RuntimeError: <_overlapped.Overlapped object at 0x00000000033C56F0>
> still has pending operation at deallocation, the process may crash
Hmmm, you could try adding this at the bottom
of run_subprocess:
yield from proc.wait()
I didn't think that would be necessary, because
the pipes won't get closed until the subprocess
is finished, but maybe Windows is fussier.
--
Greg
More information about the Python-ideas
mailing list