Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@KiddoV
Comment options

@stffabi
Comment options

@KiddoV
Comment options

@stffabi
Comment options

@KiddoV
Comment options

Answer selected by KiddoV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants