projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc83f3e
)
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Jan 2007 22:32:46 +0000
(22:32 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Jan 2007 22:32:46 +0000
(22:32 -0000)
svn path=/main/trunk/; revision=5455
pym/portage_exec.py
patch
|
blob
|
history
diff --git
a/pym/portage_exec.py
b/pym/portage_exec.py
index 0bf3e345f2972acd027a28dc0806bec67ee065be..7557ad7244710899973ed52cfe18d1e91e0e183f 100644
(file)
--- a/
pym/portage_exec.py
+++ b/
pym/portage_exec.py
@@
-200,6
+200,7
@@
def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False,
# propogate out of this function and cause exiting
# with anything other than os._exit()
sys.stderr.write("%s:\n %s\n" % (e, " ".join(mycommand)))
+ sys.stderr.flush()
os._exit(1)
# Add the pid to our local and the global pid lists.