John Stiles wrote:
On Aug 9, 2007, at 6:11 PM, Ingemar Ragnemalm wrote:
Chris Hanson wrote:
Either use LaunchServices or NSWorkspace for applications, or
fork/ exec or NSTask for command-line tools.
Is there any particular reason not to use fork/exec for GUI
applications?
I'd say one significant concern is that if the app is already open,
you will make a separate instance of it, which is not correct Mac
OS behavior.
OK, that makes sense. (Fortunately it does not matter for my current
use, but when it does I'll try LS.)
What I like about fork/exec is that it is portable and very future
safe. I kind of wonder how hard it would be to add a check for
duplicates.
(I get a feeling we have discussed this before. The argument feels
familiar.)
/Ingemar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden