Launch a Cocoa application from CoreFoundation with arguments
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