• 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: Launching an App without NSWorkspace?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching an App without NSWorkspace?


  • Subject: Re: Launching an App without NSWorkspace?
  • From: Ryan Stevens <email@hidden>
  • Date: Wed, 4 Sep 2002 20:13:03 -0700

On Wednesday, September 4, 2002, at 01:22 PM, Kurt Revis wrote:

On Wednesday, September 4, 2002, at 12:50 PM, Ondra Cada wrote:

On Wednesday, September 4, 2002, at 09:27 , Isaac Sherman wrote:

How would I go about launching an app without using NSWorkspace? ... I won't even mind an RTFM, as long as I
find out which FM I should read. ;)

RT NSTask FM ;)

NSTask is what you want for launching a tool (like the UNIX command-line programs), but not an application.

Look into the documentation for LaunchServices:
http://developer.apple.com/technotes/tn/tn2017.html

and also see the header file itself:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ LaunchServices.framework/Headers/LaunchServices.h


Yeah, you wouldn't want to do it the easy way...

system("open someApp");

Maybe I mis-understood the question but for some reason, I don't think so..?
_______________________________________________
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.
  • Follow-Ups:
    • Re: Launching an App without NSWorkspace?
      • From: Kurt Revis <email@hidden>
References: 
 >Re: Launching an App without NSWorkspace? (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: Build error
  • Next by Date: Re: Launching an App without NSWorkspace?
  • Previous by thread: Re: Launching an App without NSWorkspace?
  • Next by thread: Re: Launching an App without NSWorkspace?
  • Index(es):
    • Date
    • Thread