diff options
Diffstat (limited to 'Lib/multiprocessing/popen_spawn_posix.py')
-rw-r--r-- | Lib/multiprocessing/popen_spawn_posix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/popen_spawn_posix.py b/Lib/multiprocessing/popen_spawn_posix.py index 98f8f0a..3815106 100644 --- a/Lib/multiprocessing/popen_spawn_posix.py +++ b/Lib/multiprocessing/popen_spawn_posix.py @@ -62,7 +62,7 @@ class Popen(popen_fork.Popen): f.write(fp.getbuffer()) finally: if parent_r is not None: - util.Finalize(self, os.close, (parent_r,)) + self.finalizer = util.Finalize(self, os.close, (parent_r,)) for fd in (child_r, child_w, parent_w): if fd is not None: os.close(fd) |