How i can run my app with root or exec sudo command

Thanks to @Beatrix_Willius @Sam_Rowlands @Christian_Schmitz for let time to help me in this issue.
So In this case i use AuthorizationMBS Plugin to resolve, and was be done.


Why:
Because I was need to edit the file at protected folder of Unix (MacOS) at SpecialFolder.Etc (/private/etc/).
Solution:

  1. Use AuthorizationMBS Plugin
  2. Set chmod this file to 777 (Allow edit, execute)
  3. Use Shell Excute of Xojo to edit file easy
1 Like