Changeset 57:4ee01fa56bbe in livinglogic.python.pycoco

Show
Ignore:
Timestamp:
03/18/08 15:33:21 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Use line buffering.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/pycoco/__init__.py

    r55 r57  
    4646    def cmd(self, cmd): 
    4747        self.logProgress(">>> %s" % cmd) 
    48         pipe = os.popen(cmd + " 2>&1") 
     48        pipe = os.popen(cmd + " 2>&1", "rb", 1) 
    4949        lines = [] 
    5050        for line in pipe: