• 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: Eric Peyton <email@hidden>
  • Date: Mon, 13 Aug 2001 14:49:08 -0500

You need to look at the NSTask class. it runs command line applications as a separate task. There are a lot of good examples on the web and one the omnigroup list there were quite a few recently. You might want to check the archives of that list. I can lead youto some sample code if you can't find it on your own.

Eric

On Monday, August 13, 2001, at 02:42 PM, Todd Martin wrote:

Hi Everyone,

In working with C on UNIX I can use a:

system("/usr/local/bin/commandname");

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.

-todd
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >CLI calls (From: Todd Martin <email@hidden>)

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