• 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: Best way to execute a shell script from a cocoa application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to execute a shell script from a cocoa application


  • Subject: Re: Best way to execute a shell script from a cocoa application
  • From: Mark Dawson <email@hidden>
  • Date: Tue, 18 Mar 2008 17:02:41 -0700

 Look at the "TaskWrapper" sample code (http://developer.apple.com/samplecode/Moriarity/listing5.html).  This not only launches a system command, but can update your UI for the IO feedback?

Mark
>
>
>What is the best way to execute a shell script from a Cocoa application?
>I need to be able to specify arguments, like what execv() provides.
>
>
>-Ryan

_______________________________________________

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

References: 
 >Best way to execute a shell script from a cocoa application (From: Ryan Chapman <email@hidden>)

  • Prev by Date: CGFloat in 10.4
  • Next by Date: User Defaults Controller - IB
  • Previous by thread: Re: Best way to execute a shell script from a cocoa application
  • Next by thread: NSTableView double click binding and clickedRow
  • Index(es):
    • Date
    • Thread