> Il domenica 3 ottobre 2010 15:04:15 Jussi Lahtinen ha scritto: > > I looked your example just for interest. > > It doesn't seem to work with Ubuntu 10.04 64bit. > > > > There are two issues, maybe something with my system... > > This is first time I used "*su*" (normally I use sudo) on this computer, > > and it doesn't work... > > *su -c 'whoami'* > > gives; > > *su: Authentication failure* > > > > However *sudo whoami* works correctly. > > Because of that, I replaced *su -c 'ls /root'* with *sudo whoami*. > > > > But there is another problem. Shell doesn't wait for input for *su* or > > *sudo *. > > Result is *sudo: 3 incorrect password attempts*, before even textbox > > appears. > > > > Tested with Gambas2 revision 3124. > > Jussi > > I made this example just for 'su'. with 'su' it works, at least while > the textbox in not "". Anyway, good to know. > > Tested with: > > Gambas 2.20 > Qt 3.3.8b > Gtk 2.12.12 > > under KDE, so it uses gb.qt. > > Regards. >
That is exactly the kind of examples you should put with the other gambas examples! -- Benoît Minisini ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user