diff win32.py @ 128:42c8f5c152a5

Fixed EINTR fatally breaking poll/wait on Python 2.6- (for real this time)
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 16 May 2011 21:31:43 +0100
parents 10aa5a0e46bd
children 7923faf392fe
line wrap: on
line diff
--- a/win32.py	Mon May 16 02:53:24 2011 +0100
+++ b/win32.py	Mon May 16 21:31:43 2011 +0100
@@ -47,7 +47,7 @@
 else:
 	ProcessTimes = namedtuple('ProcessTimes', 'kernel user')
 
-__all__ = 'call', 'kill', 'terminate', 'pause', 'clock'
+__all__ = 'call', 'kill', 'terminate', 'wait', 'pause', 'clock'
 
 
 from functools import wraps
@@ -545,4 +545,5 @@
 		process.terminate()
 	except AttributeError:
 		TerminateProcess(process._handle, 1)
-terminate = kill
\ No newline at end of file
+terminate = kill
+wait = subprocess.Popen.wait
\ No newline at end of file