[Gambas-user] run project as root - BIS

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Sep 24 17:12:19 CEST 2012


> AFAIK, Desktop.RunAsRoot("whoami") and "xdg-su -c whoami" should do
> exactly same thing.
> However only "xdg-su -c whoami" works.
>


OK, now I understand the problem.
Destop.RunAsRoot() uses internally Exec command, and so redirections
doesn't work.
Instead of Exec there should be Shell..?

Benoit?


Jussi



More information about the User mailing list