• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mount dmg disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mount dmg disk


  • Subject: Re: mount dmg disk
  • From: Michael Ash <email@hidden>
  • Date: Sun, 14 Mar 2010 23:50:13 -0500

On Sun, Mar 14, 2010 at 8:42 PM, Kyle Sluder <email@hidden> wrote:
> On Sun, Mar 14, 2010 at 1:41 PM, gMail.com <email@hidden> wrote:
>> I had to modify just one thing, then it worked: since we invoke directly
>> hdiutil, I removed "hdiutil" from the args, so now it looks like:
>
> This is incorrect. Unix convention requires the program name be the
> first argument.
>
> Remember, NSTask is *NOT* like entering a command at the shell prompt.

NSTask is also not like calling the exec family of functions. NSTask
implicitly passes the target path as the first argument, and puts your
arguments starting with argv[1].

Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: mount dmg disk
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: mount dmg disk (From: Gwynne Raskind <email@hidden>)
 >Re: mount dmg disk (From: "gMail.com" <email@hidden>)
 >Re: mount dmg disk (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Problem with "save as" and freed managed object context
  • Next by Date: Re: mount dmg disk
  • Previous by thread: Re: mount dmg disk
  • Next by thread: Re: mount dmg disk
  • Index(es):
    • Date
    • Thread