• 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: CLI calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLI calls


  • Subject: Re: CLI calls
  • From: Finlay Dobbie <email@hidden>
  • Date: Mon, 13 Aug 2001 20:51:32 +0100

On Monday, August 13, 2001, at 08:42 pm, Todd Martin wrote:

to run CLI commands. I'm working on something that also needs to be able to do this in Objective-C. I'm just now learning Cocoa and can't find anything like this. If you can help I'd appreciate it, thanks folks.

You can still use system() in your Cocoa apps, but you might like to look into the NSTask object in Foundation. There are examples on usage over at www.cocoadevcentral.com, too. And a fair bit of sample code around, as well.

-- Finlay


  • Follow-Ups:
    • Re: CLI calls
      • From: Todd Martin <email@hidden>
References: 
 >CLI calls (From: Todd Martin <email@hidden>)

  • Prev by Date: Re: Some help would be greatly appreciated
  • Next by Date: Re: CLI calls
  • Previous by thread: Re: CLI calls
  • Next by thread: Re: CLI calls
  • Index(es):
    • Date
    • Thread