|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Dec 20, 2005, at 2:04 PM, Chris Espinosa wrote:
Chris is correct. LaunchServices is the way to go.
Also, you should consider switching to Xcode, which fully supports POSIX out of the box. If this isn't an option, CodeWarrior can also be configured to use POSIX instead of MSL (CodeWarrior refers to it as "BSD", as in FreeBSD), but it is a bit of a hassle to reconfigure the project if you aren't comfortable with CodeWarrior.
At any rate, system() is fraught with minor peril that you will need to consider; your path could have spaces, quotes, or Unicode in it, and you could be in for a world of hurt if the shell gets the wrong command. (Apple once released an iTunes update which occasionally erased hard drives due when it encountered "unusual" paths.)
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>Launching an Application from an Application (From: David Lalonde <email@hidden>)|
|>Re: Launching an Application from an Application (From: Chris Espinosa <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.