Re: Cocoa Programming iPing exercise
Re: Cocoa Programming iPing exercise
- Subject: Re: Cocoa Programming iPing exercise
- From: Joe Keenan <email@hidden>
- Date: Thu, 2 Oct 2008 10:06:59 -0400
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