From 4b0870aa6e4842e6839a2494de034348e0487202 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 22 Jul 2019 18:09:16 +0100 Subject: [PATCH] [stream-refactor] fix Process constructor invocation --- mitogen/fork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/fork.py b/mitogen/fork.py index a247fd5b..2d82eb79 100644 --- a/mitogen/fork.py +++ b/mitogen/fork.py @@ -185,7 +185,7 @@ class Connection(mitogen.parent.Connection): pid = os.fork() if pid: childfp.close() - return Process(pid, parentfp) + return Process(pid, stdin=parentfp, stdout=parentfp) else: parentfp.close() self._wrap_child_main(childfp)