projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4a4a98
)
SpawnProcess: disable FD_CLOEXEC on stdout for #456296
author
Fabian Groffen
<grobian@gentoo.org>
Sat, 23 Mar 2013 21:59:58 +0000
(22:59 +0100)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 23 Mar 2013 22:02:50 +0000
(15:02 -0700)
pym/_emerge/SpawnProcess.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/SpawnProcess.py
b/pym/_emerge/SpawnProcess.py
index 9155050aba5b2737f64783692b6eadfba3bdb99a..c54988446b623a037571cded675ca2009a3177c6 100644
(file)
--- a/
pym/_emerge/SpawnProcess.py
+++ b/
pym/_emerge/SpawnProcess.py
@@
-14,6
+14,12
@@
from portage import os
from portage.const import BASH_BINARY
from portage.util._async.PipeLogger import PipeLogger
+# https://bugs.gentoo.org/show_bug.cgi?id=456296
+import platform
+if platform.system() in ("Darwin",):
+ # disable FD_CLOEXEC on stdout, breaks horribly
+ fcntl = None
+
class SpawnProcess(SubProcess):
"""