Re: LaunchServices vs exec()
Re: LaunchServices vs exec()
On Tue, Mar 11, 2003 at 11:05:18PM -0800, email@hidden wrote:
>
Given a path to an application either CLI or OSX application, which
>
should I use to launch it? should I use the combination of
>
FSRefMakePath and LaunchServices or should I use exec()?
Both. If it's a bundled OS X app, Classic app, or Carbon app with
resource fork, you can use LaunchServices - you don't need
FSRefMakePath because LaunchServices provides LSOpenFSRef(). If it's
a Unix app, then use exec and friends.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.