Re: [Gambas-user] Running Sudo using Exec acts very differently from distro to distro!!

2013-04-02 Thread Bruce
On Tue, 2013-04-02 at 18:54 +0200, Willy Raets wrote: 8< > For example why am I getting different results running: > sudo -s id -u > on some systems for every time I run it (without any changes to code at > all)? > > Attached gsudo.png shows the desired result (just for testing sudo) > > Been pla

Re: [Gambas-user] Running Sudo using Exec acts very differently from distro to distro!!

2013-04-02 Thread Willy Raets
On Tue, 2013-04-02 at 22:43 +0200, Benoît Minisini wrote: > Le 02/04/2013 22:33, Willy Raets a écrit : > > It is getting more crazy by the minute: > > > > This is part of the code of previous version posted (version 0.0.5): > > > > Public Sub btnSudo_Click() > > > >If IsNull(txtPassword.Text) T

Re: [Gambas-user] Running Sudo using Exec acts very differently from distro to distro!!

2013-04-02 Thread Charlie Reinl
Am Dienstag, den 02.04.2013, 22:33 +0200 schrieb Willy Raets: > It is getting more crazy by the minute: Hi Willy, I am not very closed to your problem, but I receive all your mails. I think you are using VMs to test all this, isn't it? With all that problems your Fedora box make, and not the oth

Re: [Gambas-user] Running Sudo using Exec acts very differently from distro to distro!!

2013-04-02 Thread Benoît Minisini
Le 02/04/2013 22:33, Willy Raets a écrit : > It is getting more crazy by the minute: > > This is part of the code of previous version posted (version 0.0.5): > > Public Sub btnSudo_Click() > >If IsNull(txtPassword.Text) Then > Message.Info("First enter a password") >Else > txaOutp

Re: [Gambas-user] Running Sudo using Exec acts very differently from distro to distro!!

2013-04-02 Thread Willy Raets
It is getting more crazy by the minute: This is part of the code of previous version posted (version 0.0.5): Public Sub btnSudo_Click() If IsNull(txtPassword.Text) Then Message.Info("First enter a password") Else txaOutput.Clear txaOutput.Text = "Ready to rumble..\n\n" $hProc

[Gambas-user] Running Sudo using Exec acts very differently from distro to distro!!

2013-04-02 Thread Willy Raets
Last post on this (see topic: Strange problem with running Shell on Fedora) my executable run on Fedora. Day after it didn't run anymore (and I changed nothing). So I coded, tested, recoded and tried all kind of things, but it just won't work. So I decided to do some testing with code initially wo