lowleveldesign / process-governor

This application allows you to put various limits on Windows processes.
MIT License
626 stars 62 forks source link

In install mode, procgov should attach automatically to child processes #58

Open lowleveldesign opened 1 year ago

lowleveldesign commented 1 year ago

As install mode uses IFEO, it may cause problems when a process launches an instance of itself (Chrome, for example). A solution could be to catch the process create event and attach to the child process automatically, so it won't be affected by IFEO settings.

lowleveldesign commented 7 months ago

One idea how to solve it would be to inject an "extension" dll to the child process that would hook the CreateProcess method, temporarily adding the DEBUG flag.