diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-05-09 10:12:27 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-05-09 10:12:27 +0000 |
commit | 02a48b3e3962b5dc25def67154816de6f97e7f43 (patch) | |
tree | 028409219803f63daed9cd37566359cd2f951081 /lib | |
parent | 8b41c6d1dcf7ac54386913ab17ae9524f6061b00 (diff) | |
download | bitbake-02a48b3e3962b5dc25def67154816de6f97e7f43.tar.gz |
runqueue.py: Flush stdout/stderr before forking to fix duplicate console output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/runqueue.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 6331fec58..d7033a3ef 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -959,6 +959,8 @@ class RunQueue: bb.event.fire(runQueueTaskStarted(task, self.stats, self, self.cfgData)) bb.msg.note(1, bb.msg.domain.RunQueue, "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + 1, self.stats.total, task, self.get_user_idstring(task))) + sys.stdout.flush() + sys.stderr.flush() try: pid = os.fork() except OSError, e: |