How to obtain a process name from pid in Go?

后端 未结 0 721
庸人自扰
庸人自扰 2021-02-06 17:18

From syscall.CreateToolhelp32Snapshot in Go, procEntry.ExeFile has [260] uint16 type, but I need the process name. How I can obtain it? Or instead, how I can convert a pid to pr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题