[Gambas-user] How to input hide password into gambas command line project ?

Charlie charlie at ...2793...
Fri Oct 2 16:08:51 CEST 2015


Have you tried something simple like and let the computer do the work: -

/Public Sub Form_Open()
Dim sDesktop, sDir As String

sDesktop = Desktop.Type

Select Case sDesktop
  Case "GNOME"
    Shell "gksu ls -a" To sDir          'Ubuntu, Mint, Debian etc
  Case "KDE"
    Shell "kdesudo ls -a" To sDir    'Kubuntu, Mint KDE etc
End Select

Print sDir

End/




--
View this message in context: http://gambas.8142.n7.nabble.com/How-to-input-hide-password-into-gambas-command-line-project-tp53669p53687.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list