I need to basically do a "sudo" but, I need to give that kind of permission to my NSTask code. Is this possible?
Thanks, Elijah
I need to basically do a "sudo" but, I need to give that kind of permission to my NSTask code. Is this possible?
Thanks, Elijah
Look here:
open -a Safari http://www.sveinbjorn.org/STPrivilegedTask
open -a Safari http://www.sheepsystems.com/sourceCode/authTasksCocoa.html
HTH :-)
Some related information is given in the article "Communicating with a Privileged Tool"
See: http://osx.hyperjeff.net/Reference/CocoaArticles?cat=29