-
|
So Wails generate some |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
|
You need to incorporate the parent process id of the processes and use the process tree. All WebView2 processes have a parent process and will finally root into the Wails pid. This could be over several levels of processes, e.g. WebView2 -> WebView2 -> Wails. AFAIK gopsutil returns the parent process id, so you should be able to loop over all processes and find those which are connected the the wails process. |
Beta Was this translation helpful? Give feedback.
You need to incorporate the parent process id of the processes and use the process tree. All WebView2 processes have a parent process and will finally root into the Wails pid. This could be over several levels of processes, e.g. WebView2 -> WebView2 -> Wails.
AFAIK gopsutil returns the parent process id, so you should be able to loop over all processes and find those which are connected the the wails process.