Improve monitoring of auto-started apps' processes. #1052

Closed
opened 2026-04-05 16:47:55 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @DorCoMaNdO on 6/16/2023

Potentially addresses #577.

This PR does not use WMI as originally suggested and instead reuses Process32First/Process32Next to find child PIDs.

I've not tested whether this addresses UAC, however I did test shortcuts to batch files with start "" "path\to\program" commands to simulate intermediate processes, these programs were correctly terminated with the changes in this PR.

*Originally created by @DorCoMaNdO on 6/16/2023* Potentially addresses #577. This PR does not use WMI as originally suggested and instead reuses `Process32First`/`Process32Next` to find child PIDs. I've not tested whether this addresses UAC, however I did test shortcuts to batch files with `start "" "path\to\program"` commands to simulate intermediate processes, these programs were correctly terminated with the changes in this PR.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#1052