[pypy-svn] r59448 - pypy/trunk/pypy/module/posix
fijal at codespeak.net
fijal at codespeak.net
Mon Oct 27 16:19:12 CET 2008
Author: fijal
Date: Mon Oct 27 16:19:10 2008
New Revision: 59448
Modified:
pypy/trunk/pypy/module/posix/app_posix.py
Log:
Fix
Modified: pypy/trunk/pypy/module/posix/app_posix.py
==============================================================================
--- pypy/trunk/pypy/module/posix/app_posix.py (original)
+++ pypy/trunk/pypy/module/posix/app_posix.py Mon Oct 27 16:19:10 2008
@@ -82,7 +82,8 @@
pid = self._childpid
if pid is not None:
self._childpid = None
- os.waitpid(pid, 0)
+ return os.waitpid(pid, 0)[1]
+ return 0
__del__ = close # as in CPython, __del__ may call os.waitpid()
def popen(command, mode='r', bufsize=-1):
More information about the Pypy-commit
mailing list