Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 794490 - Don't buffer stdout and stderr in pymake. r=ted
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Oct 2, 2012
1 parent 4bd5006 commit b2cef02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/pymake/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
import gc

if __name__ == '__main__':
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0)

gc.disable()

pymake.command.main(sys.argv[1:], os.environ, os.getcwd(), cb=sys.exit)
Expand Down

0 comments on commit b2cef02

Please sign in to comment.