[Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

bugtracker at ...3416... bugtracker at ...3416...
Fri Aug 5 19:25:07 CEST 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4-

Comment #1 by Mufeed ALI:

Desktop.RunAsRoot requires the command to be written between the brackets.

For example:
Desktop.RunAsRoot("rm /var/crash/*")

This can be used to clear crash logs in Ubuntu & some other distributions but not all.

Read more here(just a little more): 
http://gambaswiki.org/wiki/comp/gb.desktop/desktop/runasroot

Mufeed ALI changed the state of the bug to: Invalid.






More information about the User mailing list