mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-26 23:24:13 +08:00
.
This commit is contained in:
parent
9be975e15f
commit
6818785b64
@ -116,8 +116,8 @@ def getpidexe(pid):
|
||||
)
|
||||
if not hproc:
|
||||
|
||||
hproc = windows.OpenProcess(
|
||||
windows.PROCESS_QUERY_LIMITED_INFORMATION, False, pid
|
||||
hproc = windows.AutoHandle(
|
||||
windows.OpenProcess(windows.PROCESS_QUERY_LIMITED_INFORMATION, False, pid)
|
||||
)
|
||||
if not hproc:
|
||||
name_ = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user