Re: NSTask...Whois
Re: NSTask...Whois
- Subject: Re: NSTask...Whois
- From: John Randolph <email@hidden>
- Date: Thu, 13 Nov 2003 12:06:06 -0800
On Nov 13, 2003, at 8:07 AM, Nicholas Riley wrote:
[NSArray arrayWithObjects: @"-h", @"whois.nic.uk", @"realmacs.co.uk"]
should work better.
Better make that:
[NSArray arrayWithObjects: @"-h", @"whois.nic.uk", @"realmacs.co.uk",
nil]
Remember, +arrayWithObjects: is a varargs method, and it needs a nil
terminator.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.