On Tue, May 18, 2010 at 2:33 PM, appledev <apple...@xs4all.nl> wrote: > I dont want to use a call to a bash script, because of sneaking in bad > commands. > But how should I handle this?
That's only a real concern when you put user supplied data into the command you're running. But I don't see you doing that here... you're just using bash to parse the otput of some unix command. > Does someone has any advice? Depending on what information you need, I'd use [NSWorkspace mountedLocalVolumePaths] and then [NSFileManager attributesOfFileSystemForPath:error:]. _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com