diff options
-rw-r--r-- | pym/portage/__init__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a9d430071..c56286069 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4394,7 +4394,11 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, if isinstance(dbkey, dict): mysettings["dbkey"] = "" pr, pw = os.pipe() - fd_pipes = {0:0, 1:1, 2:2, 9:pw} + fd_pipes = { + 0:sys.stdin.fileno(), + 1:sys.stdout.fileno(), + 2:sys.stderr.fileno(), + 9:pw} mypids = spawn(_shell_quote(ebuild_sh_binary) + " depend", mysettings, fd_pipes=fd_pipes, returnpid=True, droppriv=droppriv) |