From 2411779305c33c4e651474bc57f9e06dcee0c879 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Fri, 7 Nov 2025 23:56:27 +0000 Subject: [PATCH] WIP --- mitogen/parent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/parent.py b/mitogen/parent.py index 1a23df18..e11b8b3f 100644 --- a/mitogen/parent.py +++ b/mitogen/parent.py @@ -1427,7 +1427,7 @@ class Connection(object): def _first_stage(): R,W=os.pipe() r,w=os.pipe() - if os.fork(): + if os.fork()==0: os.dup2(0,100) os.dup2(R,0) os.dup2(r,101)