• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LaunchServices vs exec()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaunchServices vs exec()


  • Subject: Re: LaunchServices vs exec()
  • From: Nicholas Riley <email@hidden>
  • Date: Wed, 12 Mar 2003 01:33:43 -0600
  • Mail-followup-to: email@hidden, email@hidden

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.

References: 
 >LaunchServices vs exec() (From: email@hidden)

  • Prev by Date: Re: Is there a Java Cocoa File Chooser Dialog?
  • Next by Date: Re: Toolbar hide/show button (Solved)
  • Previous by thread: LaunchServices vs exec()
  • Next by thread: Re: LaunchServices vs exec()
  • Index(es):
    • Date
    • Thread