[Gambas-user] Test running app from IDE as root...

Bruce Steers bsteers4 at gmail.com
Sun Jun 12 18:37:59 CEST 2022

On Sun, 12 Jun 2022 at 17:30, Bruce Steers <bsteers4 at gmail.com> wrote:

> What do you think of this?
> https://gitlab.com/bsteers4/gambas/-/commit/242afc06b7c791c3280d5c09112797a81c85243a
> (main commit)
> https://gitlab.com/bsteers4/gambas/-/commit/ef3939d39cc8666cd6e8fe48608c4b5ffde53b73
> (sanity check)
> I've added an option on the Debugging/Arguments page to Run As Root using
> pkexec.
> prefixes gbx with the same method Desktop.RunAsRoot() uses.
> Good idea? terrible idea?
> Seems to work
> Respects
> Bruce

PS. not 100% sure i have put the pkexec insertion in the best place in the
code, line 1291 seemed right to me but there are other things i do not use
like Test and valgrind so do not know of effects on these.
All the best
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220612/ddb3fc91/attachment.htm>

More information about the User mailing list