[pypy-svn] r64502 - pypy/trunk/pypy/module/posix

iko at codespeak.net iko at codespeak.net
Tue Apr 21 12:54:16 CEST 2009


Author: iko
Date: Tue Apr 21 12:54:16 2009
New Revision: 64502

Modified:
   pypy/trunk/pypy/module/posix/__init__.py
Log:
expose popenX



Modified: pypy/trunk/pypy/module/posix/__init__.py
==============================================================================
--- pypy/trunk/pypy/module/posix/__init__.py	(original)
+++ pypy/trunk/pypy/module/posix/__init__.py	Tue Apr 21 12:54:16 2009
@@ -20,7 +20,13 @@
     'tmpfile'    : 'app_posix.tmpfile',
     'popen'      : 'app_posix.popen',
     }
-    
+    if os.name == 'nt':
+        appleveldefs.update({
+                'popen2' : 'app_posix.popen2',
+                'popen3' : 'app_posix.popen3',
+                'popen4' : 'app_posix.popen4',
+                })
+        
     interpleveldefs = {
     'open'      : 'interp_posix.open',
     'lseek'     : 'interp_posix.lseek',



More information about the Pypy-commit mailing list