Hi all,
I have an app where a portion of the code has to be executed as root. On PowerPC I used CoreFoundation to obtain root authorisation and run a unix based helper program. Now that I am making the program Universal I have run into a problem.
The CF code still works but it always executes the PowerPC helper program, even on the Intel architecture. Is there a way I can get it to automatically execute the Intel or PowerPC executable. If not then is there an easy way to obtain the architecture type from the system?
Thanks
Chris
I have an app where a portion of the code has to be executed as root. On PowerPC I used CoreFoundation to obtain root authorisation and run a unix based helper program. Now that I am making the program Universal I have run into a problem.
The CF code still works but it always executes the PowerPC helper program, even on the Intel architecture. Is there a way I can get it to automatically execute the Intel or PowerPC executable. If not then is there an easy way to obtain the architecture type from the system?
Thanks
Chris