changeset 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 19c42a3cd962
children fcdcd0c95552
files win32.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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