On Mon, Mar 15, 2010 at 3:34 AM, gMail.com <mac.iphone....@gmail.com> wrote: > you could be right, but, if I put the program name as first argument, it > doesn't work. Please note I launch the /usr/bin/hdiutil and not the shell.
I'm not right. I was thinking of the exec* functions, which require you to pass the program name as an argument. As Mike pointed out, NSTask does this for you. --Kyle Sluder _______________________________________________ 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