summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index e06827a..58111ef 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1082,6 +1082,7 @@ posix_fork(self, args)
pid = fork();
if (pid == -1)
return posix_error();
+ PyOS_AfterFork();
return PyInt_FromLong((long)pid);
}
#endif