Handle child processes
Hi,
if a process, configured as high performance, spawn child processes, these will be handled as normal processes. I think the child processes should get the same treatment.
OBS-Studio for example spawns for every browser source obs-browser-page.exe.
The Auto-Mode is for such cases, but this mode makes only sense for game launchers. Bigger applications spawn a lot child processes and if we set the parent process in high performance or in the ignore list, the child processes should be in them, too.
Thanks
Honestly, I feel like the Auto-Mode is pretty much exactly for this situation, since it will, for the most part, try and alter all child processes you can throw at it, so at least with OBS, you probably want all of the sub-processes to run in the same cores.
But I can see the need for an Auto-Mode like feature for other processes as well, perhaps a per-process toggle for child-detection, that works the same way as Auto-Mode, but with the way Auto-Mode works, this might be waste CPU cycles most of the time, I remember wanting to have an event or hook to detect when a new process is started in the system, to only run the scans when needed, but remember not finding anything universally viable.
Might be a good idea to toggle child-detection on or off along with Auto-Mode if I can't find a better way. Will add it to the list.
I want Auto-Mode also for Custom defined processes and for processes in the ignore list. So yeah, a per process solution would be perfect, thank you for looking into it!