Re: Launching an App without NSWorkspace?
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.