there are alot of commands that the program needs to execute needing sudo permission, this includes system wide modifications in flatpak overrides, config modifications in /etc, addition of repo with sudo ostree, or removing and adding systemd services and autostart programs.
handling sudo by including it in the CMD_ argument to subprocess.Popen or subprocess.call does not seem to be a good idea. The polkit cannot be configured either since it is in /usr
there are alot of commands that the program needs to execute needing
sudopermission, this includes system wide modifications in flatpak overrides, config modifications in/etc, addition of repo withsudo ostree, or removing and adding systemd services and autostart programs.handling sudo by including it in the
CMD_argument tosubprocess.Popenorsubprocess.calldoes not seem to be a good idea. The polkit cannot be configured either since it is in/usr