[pypy-svn] r62305 - pypy/trunk/dotviewer

afa at codespeak.net afa at codespeak.net
Sun Mar 1 21:57:32 CET 2009


Author: afa
Date: Sun Mar  1 21:57:29 2009
New Revision: 62305

Modified:
   pypy/trunk/dotviewer/graphparse.py
Log:
correctly call os.popen2. Relevant only on Windows.


Modified: pypy/trunk/dotviewer/graphparse.py
==============================================================================
--- pypy/trunk/dotviewer/graphparse.py	(original)
+++ pypy/trunk/dotviewer/graphparse.py	Sun Mar  1 21:57:29 2009
@@ -45,7 +45,7 @@
         else:
             cmdline = 'neato -Tplain'
         #print >> sys.stderr, '* running:', cmdline
-        child_in, child_out = os.popen2(cmdline, 'r')
+        child_in, child_out = os.popen2(cmdline, 'b')
         try:
             import thread
         except ImportError:



More information about the Pypy-commit mailing list