> hey David, > > I'm using Debian Lenny 5.0.2 and Gambas 2.14 > > for me this command works fine > > SHELL "gksudo gnome-commander" > > but I think it's Gnome specific > > I hope it helps > > Regards > Dimitris >
By using the INPUT/OUTPUT option of SHELL, you can run "su" or "sudo" inside a terminal and try to analyze its output to see if you must send a password or not, and create a GUI for that. It should work - I have never done that. On the other way, you can use the work already done by desktop environment. But I think these things are going to be removed (it is already done in KDE4 apparently) and will be replaced by PolicyKit. Regards, -- Benoît ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
