[Gambas-Notification] [Git][gambas/gambas][master] Desktop.RunAsRoot() now uses 'pkexec' by default. Desktop.RunAs() is a new...

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Tue Sep 14 20:53:09 CEST 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
2906f041 by gambas at 2021-09-14T20:53:02+02:00
Desktop.RunAsRoot() now uses 'pkexec' by default. Desktop.RunAs() is a new method that allows to specify the username used for running a program.

[GB.DESKTOP]
* NEW: Desktop.RunAsRoot() now takes an optional argument to wait for the program ends, and now uses 'pkexec' by default.
* NEW: Desktop.RunAs() is a method similar as RunAsRoot() that takes the username used for running the program.

- - - - -


1 changed file:

- comp/src/gb.desktop/.src/Desktop.class


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/2906f0412110b777474da645db0b293bcd1840cc

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/2906f0412110b777474da645db0b293bcd1840cc
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210914/e1942b1f/attachment.htm>


More information about the Notification mailing list