• 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
Launch a Cocoa application from CoreFoundation with arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launch a Cocoa application from CoreFoundation with arguments


  • Subject: Launch a Cocoa application from CoreFoundation with arguments
  • From: Arthur VIGAN <email@hidden>
  • Date: Sun, 20 Feb 2005 17:16:51 +0100

Hi,

I am working on a CoreFoundation application that sometimes need to launch a Cocoa application. I have found out that launching the Cocoa application can be quite easy using LaunchServices. But the problem is that I need to pass arguments (just like for command line tools) to the Cocoa executable. Does someone know if it's possible, and if it, how to do it?

I know it seems weird doing this, but the problem is that I need to pass information from the CoreFoundation application to the Cocoa application... Maybe is there a better way to do this that I am not aware of? I have to tell that the CoreFoundation application quits immediately after having launched the Cocoa application.

Thanks a lot in advance,

 -- Arthur;

--
Arthur VIGAN
<email@hidden>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Launch a Cocoa application from CoreFoundation with arguments
      • From: daniel <email@hidden>
  • Prev by Date: Re: Lining up NSViews in NSScrollView
  • Next by Date: Getting VSIZE-RSIZE from process id
  • Previous by thread: Notifying NSBrowser of changed contents
  • Next by thread: Re: Launch a Cocoa application from CoreFoundation with arguments
  • Index(es):
    • Date
    • Thread