[Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist
bugtracker at ...3416...
bugtracker at ...3416...
Fri Aug 5 23:00:36 CEST 2016
http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4-
Comment #2 by vuott VUOTT:
> Desktop.RunAsRoot requires the command to be written between the brackets.
Yes, I know it.
If I try this:
Public Sub Button1_Click()
Desktop.RunAsRoot("chmod 666 /dev/tty1")
End
or e.g.:
Public Sub Button1_Click()
Desktop.RunAsRoot("cat /dev/input/mouse0")
End
I get that error message:
"File or directory doesen't exist."
vuott VUOTT changed the state of the bug to: Opened.
More information about the User
mailing list