修复 getDetailsProcessList,getProcessList,getProcessidFilePath,getProcessName 对于 内核进程/ 服务进程 无效
kihlh opened this issue · 7 comments
kihlh commented
修复 getDetailsProcessList,getProcessList,getProcessidFilePath,getProcessName 对于 内核进程/ 服务进程 无效
kihlh commented
kihlh commented
kihlh commented
放弃使用 GetModuleBaseNameA api
xianyunleo commented
"System"等内核进程,可以参考PowerShell或C#,只提供Name,不提供Path
Get-Process -Id 4
(Get-Process -Id 4).Name
(Get-Process -Id 4).Path
查看属性定义
Get-Process| Get-Member
kihlh commented
"System"等内核进程,可以参考PowerShell或C#,只提供Name,不提供Path
Get-Process -Id 4
(Get-Process -Id 4).Name
(Get-Process -Id 4).Path
查看属性定义
Get-Process| Get-Member
xianyunleo commented
你误解了我的意思了。我的意思是,内核进程的Path就直接返回空字符串好了。C#的API就是这么做的。 @kihlh