• 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: David Remahl <email@hidden>
  • Date: Wed, 04 Sep 2002 22:08:38 +0200

> How would I go about launching an app without using NSWorkspace? I'm
> writing a tool, and would rather not link against Appkit just to open a
> file, or launch an App in the finder. In terminal you can just use open,
> but I'm a Unix newbie and I'm not sure where I'd look for an answer to
> something so (seemingly) basic. I won't even mind an RTFM, as long as I
> find out which FM I should read. ;)
>
> TIA,

open does link with AppKit. And uses NSWorkspace to do its thing. Either you
do the same thing, or you use NSTask to execute open.

/ David
_______________________________________________
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: 
 >Launching an App without NSWorkspace? (From: Isaac Sherman <email@hidden>)

  • Prev by Date: Re: Tokenizing a returned path?
  • 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