hgkw/__init__.py
author Simon Heimberg <simohe@besonet.ch>
Wed, 12 Feb 2014 16:09:18 +0100
branchstable
changeset 1332 e307d04d3c4d
parent 0 41c7e55cd9e9
permissions -rw-r--r--
tests: killdaemons.py for windows distinguishes access violation and terminated To distinguish between access violaition (process belonging to another user) and a terminated process, PROCESS_QUERY_INFORMATION must be enabled. But TerminateProcess still raises error 5 in both cases. Therefore check before if the process has already terminated. [ original upstream message ]