hey,
I'm writing a simple program in Gambas:
i want a nice gui for a shellcommand, being "sudo vpnc"
as you can see, I have to "sudo" the command, so in a console it asks me to enter my password:
Code:
benjamin@Benjamin:~$ sudo vpnc
Password:
now I know how to execute the command in gambas:
but how do you fill in the password?
I tried about everything I could think of, but sadly my programming skills are nil to none.
I would really appreciate the help!