Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prob with AuthorizationExecuteWithPrivileges and 'complex' arguments



Fritz Anderson (email@hidden) wrote on Mon, 28 Jul
2003 11:27:00 -0500:

>You should pass the arguments as separate char* in an array, as you did
>in the first place, but because there is no shell to intercept the
>semicolon, there is no need to escape it with a backslash. Try it as
>simply ";".

Worked like a charm! Thanks for the fast reply! I figured it was
something simple like that, and there I was doubly escaping the ';'. hehe


--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Mac Software Designer +1-514-822-6000
Matrox Electronic Systems Ltd. Montrial, Quibec, Canada
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Prob with AuthorizationExecuteWithPrivileges and 'complex' arguments (From: Fritz Anderson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.