Comment

Comment by yliang

Interesting. Initially I chose to use helper tool to run sudo commands. After wrapping all those poorly-documented Authorization/ServiceManagement/XPC C APIs into Swift 3, I was like, sh*t, lemme just use askpass. Also, many of those APIs are deprecated in newer version of macOS and it's unclear that when Apple will remove them. That said, I can see the HUGE benefits of using launchd under the hood.
parent yliang 10 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton