• 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: NSTask...Whois
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask...Whois


  • Subject: Re: NSTask...Whois
  • From: Nicholas Riley <email@hidden>
  • Date: Thu, 13 Nov 2003 10:07:09 -0600
  • Mail-followup-to: Mark Davis <email@hidden>, email@hidden

On Thu, Nov 13, 2003 at 11:18:39AM -0400, Mark Davis wrote:
> In the Terminal I can type this in and it gets me my whois information:
> whois -h whois.nic.uk realmacs.co.uk
>
> When I use it through NSTask,
>
> [whois setArguments:[NSArray arrayWithObjects:@"-h
> whois.nic.uk",@"realmacs.co.uk"]];
>
> it returns a message saying:
>
> usage: whois [-aAdgilmQrR6] [-c country-code | -h hostname] [-p port]
> name ...
>
> Any idea why this isn't working?

[NSArray arrayWithObjects: @"-h", @"whois.nic.uk", @"realmacs.co.uk"]
should work better.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTask...Whois
      • From: John Randolph <email@hidden>
References: 
 >NSTask...Whois (From: Mark Davis <email@hidden>)

  • Prev by Date: RE: NSTask...Whois
  • Next by Date: Re: NSTask...Whois
  • Previous by thread: Re: NSTask...Whois
  • Next by thread: Re: NSTask...Whois
  • Index(es):
    • Date
    • Thread