RE: Troublesome app when scaling it up, how to proceed?
RE: Troublesome app when scaling it up, how to proceed?
- Subject: RE: Troublesome app when scaling it up, how to proceed?
- From: "Gerben Wierda" <email@hidden>
- Date: Thu, 25 Oct 2007 08:44:10 +0200 (CEST)
- Importance: Normal
> You know, it's really easy to write code to MD5 a file without shelling
> out to a separate process to do it. The algorithm is open-source and above
> that it's just fopen/fread/fclose (or various Cocoa classes if you
> prefer). That also opens the door to much, much cleaner error checking
> than dealing with error codes coming back from a command-line app.
I agree, but the md5 example was just an example. I use several other
programs as well and there is not such a library/possibility for all.
Secondly, as some of these processes have to run with privileges, I need
to use AuthExecuteWithPrivileges() if I do not want to turn my entire app
into a privileged operation (and I don't as I follow the principle that
privileged operations should be kept to an absolute minimum).
G
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden