[stream-refactor] fix Process constructor invocation

pull/607/head
David Wilson 7 years ago
parent 8e9f47a2e9
commit 4b0870aa6e

@ -185,7 +185,7 @@ class Connection(mitogen.parent.Connection):
pid = os.fork() pid = os.fork()
if pid: if pid:
childfp.close() childfp.close()
return Process(pid, parentfp) return Process(pid, stdin=parentfp, stdout=parentfp)
else: else:
parentfp.close() parentfp.close()
self._wrap_child_main(childfp) self._wrap_child_main(childfp)

Loading…
Cancel
Save