This commit is contained in:
恍兮惚兮 2024-11-25 23:02:54 +08:00
parent 9be975e15f
commit 6818785b64

View File

@ -116,8 +116,8 @@ def getpidexe(pid):
) )
if not hproc: if not hproc:
hproc = windows.OpenProcess( hproc = windows.AutoHandle(
windows.PROCESS_QUERY_LIMITED_INFORMATION, False, pid windows.OpenProcess(windows.PROCESS_QUERY_LIMITED_INFORMATION, False, pid)
) )
if not hproc: if not hproc:
name_ = None name_ = None