Fixed progress information issue
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 2 Apr 2008 04:23:29 +0000 (04:23 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 2 Apr 2008 04:23:29 +0000 (04:23 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1103 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/Misc.py

index 0d9493f..b6cf632 100755 (executable)
@@ -375,8 +375,10 @@ class Progressor:
     ## Thread entry method\r
     def _ProgressThreadEntry(self):\r
         print self.PromptMessage,\r
+        sys.stdout.flush()\r
         while not Progressor._StopFlag.isSet():\r
             print self.ProgressChar,\r
+            sys.stdout.flush()\r
             time.sleep(self.Interval)\r
         print self.CodaMessage\r
         sys.stdout.flush()\r