• 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: starting external program at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: starting external program at runtime


  • Subject: Re: starting external program at runtime
  • From: Jason Coco <email@hidden>
  • Date: Fri, 11 Jul 2008 11:25:58 -0400

If your helper application is a console app, however, you should keep it with your main application bundle and use NSTask to run it and interact with it. (By console app I simply mean something that doesn't interact directly with the user).

On Jul 11, 2008, at 11:19 , Abernathy, Joshua wrote:

NSWorkspace can launch applications for you. Check out
http://theocacao.com/document.page/183 and
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/
Classes/NSWorkspace_Class/Reference/Reference.html.

-----Original Message-----
From: cocoa-dev-bounces+jabernathy=email@hidden
[mailto:cocoa-dev-bounces+jabernathy=email@hidden
] On Behalf Of Daniel Richman
Sent: Friday, July 11, 2008 11:15 AM
To: Cocoa-dev List
Subject: starting external program at runtime

Hi All,

I want to start an application (it's bundled with my main app) in a
specific case. It was previously installed to a known location (it's a
helper app, so I put it in ~/Library/Application Support -- was that the


right thing to do?), so is there any class I can call upon, or is the
best thing just a system() call?

Daniel
_______________________________________________

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:
stics.com

This email sent to email@hidden
_______________________________________________

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:
@gmail.com


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >starting external program at runtime (From: Daniel Richman <email@hidden>)
 >RE: starting external program at runtime (From: "Abernathy, Joshua" <email@hidden>)

  • Prev by Date: RE: starting external program at runtime
  • Next by Date: Is there any way to show disclosure button always closed
  • Previous by thread: RE: starting external program at runtime
  • Next by thread: KVO notifications and threads
  • Index(es):
    • Date
    • Thread