##// END OF EJS Templates
fixes #218 os.kill patch for windows was missing sig param
marcink -
r1404:adcfbe0f beta
parent child Browse files
Show More
@@ -11,7 +11,7 b' from rhodecode import __platform__, PLAT'
11 if __platform__ in PLATFORM_WIN:
11 if __platform__ in PLATFORM_WIN:
12 import ctypes
12 import ctypes
13
13
14 def kill(pid):
14 def kill(pid, sig):
15 """kill function for Win32"""
15 """kill function for Win32"""
16 kernel32 = ctypes.windll.kernel32
16 kernel32 = ctypes.windll.kernel32
17 handle = kernel32.OpenProcess(1, 0, pid)
17 handle = kernel32.OpenProcess(1, 0, pid)
General Comments 0
You need to be logged in to leave comments. Login now