On Mar 7, 2014, at 8:38 PM, Trygve Inda <cocoa...@xericdesign.com> wrote:
> I'd like it to work with md5, ffmpeg and others. These all work fine, but > quit after returning their data. There’s nothing you can do about that, unless those tools allow multiple input files to be passed on the command line. Check their man pages. But running those from NSTask shouldn’t be any slower than doing it from something like a shellscript. (BTW, MD5 digests are trivial to compute using the APIs in <CommonCrypto/CommonDigest.h>. There’s no need to launch a tool to do that. And to digress further, MD5 isn’t very secure; it’s better to use SHA-1 or SHA-256 unless you’re working with something that explicitly requires MD5.) —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com