diff win32.py @ 125:10aa5a0e46bd

Fixed an exception raised instead of forceful process termination on Win32
author Oleg Oshmyan <chortos@inbox.lv>
date Sun, 15 May 2011 00:33:32 +0100
parents d6fd880207cb
children 42c8f5c152a5
line wrap: on
line diff
--- a/win32.py	Sun Apr 24 20:05:20 2011 +0100
+++ b/win32.py	Sun May 15 00:33:32 2011 +0100
@@ -544,5 +544,5 @@
 	try:
 		process.terminate()
 	except AttributeError:
-		TerminateProcess(process._handle)
+		TerminateProcess(process._handle, 1)
 terminate = kill
\ No newline at end of file