[prev in list] [next in list] [prev in thread] [next in thread]
List: gambas-user
Subject: Re: [Gambas-user] sudo or gksudo in SHELL?
From: Maximillian Von Kloisterheim <maximvonk () gmail ! com>
Date: 2008-02-24 1:10:12
Message-ID: 47C0C3F4.3030500 () gmail ! com
[Download RAW message or body]
Stefano Palmeri wrote:
>
> Also, you could do :
>
> IF User.Name <> "root" THEN
> SHELL "gksudo " & Application.Args[0] WAIT
> QUIT
> ENDIF
>
> but this works after the project was compiled as executable.
>
> Stefano
Thanks Stefano. It looks like I might have to write the program, compile
it, and then run it with gksudo to make things work.
Regards
Max
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic