mirror of https://github.com/python/cpython
Revert r74028.
This commit is contained in:
parent
3601a38029
commit
3e8b869c9c
|
@ -1066,10 +1066,10 @@ class Popen(object):
|
|||
gc.disable()
|
||||
try:
|
||||
self.pid = os.fork()
|
||||
finally:
|
||||
except:
|
||||
if gc_was_enabled:
|
||||
gc.enable()
|
||||
|
||||
raise
|
||||
self._child_created = True
|
||||
if self.pid == 0:
|
||||
# Child
|
||||
|
|
Loading…
Reference in New Issue