• 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: Cocoa Programming iPing exercise
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Programming iPing exercise


  • Subject: Re: Cocoa Programming iPing exercise
  • From: Jamie Pinkham <email@hidden>
  • Date: Thu, 02 Oct 2008 10:12:28 -0400

whoops.. should reply to all.. sorry Joe.

anyway, i asked, and this may be a silly inquiry, but have you checked the execute permissions of the executable?

On Oct 2, 2008, at 10:06 AM, Joe Keenan wrote:


On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote:

On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <email@hidden> wrote:

On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote:

NSArray *args = [NSArray arrayWithObject:[hostField stringValue]];

You forgot the nil argument at the end of the array.

-arrayWithObject: doesn't need one.

Oops. Good point. Hmm.

Shawn - are you absolutely SURE that reqkey is in /usr/local/bin? On your command line example, you don't specify the path.

Another thing to look at is if keyreq requires some environment variable that's present in your command line setup, but not in the NSTask environement.

joe

_______________________________________________

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

_______________________________________________

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


References: 
 >Cocoa Programming iPing exercise (From: Shawn Protsman <email@hidden>)
 >Re: Cocoa Programming iPing exercise (From: Joe Keenan <email@hidden>)
 >Re: Cocoa Programming iPing exercise (From: "Sherm Pendley" <email@hidden>)
 >Re: Cocoa Programming iPing exercise (From: Joe Keenan <email@hidden>)

  • Prev by Date: Re: Newbie: Strange problem with NSTableView, check boxes and Core Data
  • Next by Date: Re: Threads + Garbage Collection = Crash?
  • Previous by thread: Re: Cocoa Programming iPing exercise
  • Next by thread: NSString's "mutableCopy" creating a leak?
  • Index(es):
    • Date
    • Thread