Show More
@@ -16,7 +16,7 b" if os.name =='nt':" | |||||
16 | logfn('# Killing daemon process %d' % pid) |
|
16 | logfn('# Killing daemon process %d' % pid) | |
17 | PROCESS_TERMINATE = 1 |
|
17 | PROCESS_TERMINATE = 1 | |
18 | PROCESS_QUERY_INFORMATION = 0x400 |
|
18 | PROCESS_QUERY_INFORMATION = 0x400 | |
19 |
SYNCHRONIZE = 0x00100000 |
|
19 | SYNCHRONIZE = 0x00100000 | |
20 | WAIT_OBJECT_0 = 0 |
|
20 | WAIT_OBJECT_0 = 0 | |
21 | WAIT_TIMEOUT = 258 |
|
21 | WAIT_TIMEOUT = 258 | |
22 | handle = ctypes.windll.kernel32.OpenProcess( |
|
22 | handle = ctypes.windll.kernel32.OpenProcess( | |
@@ -89,4 +89,3 b' def killdaemons(pidfile, tryhard=True, r' | |||||
89 | if __name__ == '__main__': |
|
89 | if __name__ == '__main__': | |
90 | path, = sys.argv[1:] |
|
90 | path, = sys.argv[1:] | |
91 | killdaemons(path) |
|
91 | killdaemons(path) | |
92 |
|
General Comments 0
You need to be logged in to leave comments.
Login now