GitHub repository: 128keaton/STPrivilegedTask
Description: An NSTask-like wrapper around the macOS Security Framework's AuthorizationExecuteWithPrivileges() to run shell commands with root privileges in Objective-C / Cocoa.