Hello,
I am trying to launch a sub-application with root privileges and I have found that the security framework has some severe limitations in that it doesn't seem to properly pass the root environment to its sub-programs. For example, I cannot open any documents easily with this. I also cannot use it to launch Carbon apps since LaunchCFMApp seems to ignore the secure environment and run as the other user. I don't understand this since running it with sudo from the command line works properly.
I have been looking into using LauchServices since it offers program binding, etc, but I can't figure out if it can use security or how I would do that.
Can anyone help me out with this?
Jeff.