[Gambas-user] run project as root

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Sep 23 14:59:10 CEST 2012


Oh, yes, that was the reason I haven't use it!
It doesn't have method to return value.

So far I have used gksudo with shell command, but generally working
solution is needed.

Jussi



On Sun, Sep 23, 2012 at 11:10 AM, wally <wally at ...2037...> wrote:

> Hello Jussi,
>
> i 've seen in other postingsyou mentioned tests using
> "Desktop.RunAsRoot("whoami")"
> Can you provide a working example how to use Desktop.RunAsRoot, please ?
> (e.g. how to get the returned usersname)
>
> thx wally
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list