Parallel instances of Cocoa apps?
Parallel instances of Cocoa apps?
- Subject: Parallel instances of Cocoa apps?
- From: Jay Reynolds Freeman <email@hidden>
- Date: Thu, 13 Sep 2007 10:22:10 -0700
I need to run multiple copies of a Cocoa application (that
I am writing) at the same time. I can do so fine (perhaps
I should merely say "so far, so good") with straight Unix
stuff, using C code along the lines of
system( "<full path to my application's '.app' file> &" );
That actually seems to work, but I was wondering:
(1) Is there any way to do this with Cocoa routines, and
perhaps more importantly,
(2) Is there any reason *not* to run multiple copies of
the same Cocoa application?
There seems to be a way to run multiple copies of the same
Carbon application, but I couldn't find anything useful
about Cocoa parallel applications in the XCode docs or
on the web, or any indication of why Cocoa does not provide
the same functionality as Carbon.
(I won't bore you all with whys and wherefores, though I
will be glad to discuss them offline if anyone cares.
It may forestall wasting bandwidth if I mention now that
yes, I do want parallel processes and not just parallel
threads, and no, multiple documents in one instance of
the application are not the way I want to go ...)
-- Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
_______________________________________________
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