Re: Launching an App without NSWorkspace?
Re: Launching an App without NSWorkspace?
- Subject: Re: Launching an App without NSWorkspace?
- From: Ondra Cada <email@hidden>
- Date: Thu, 5 Sep 2002 21:49:15 +0200
On Thursday, September 5, 2002, at 06:48 , Douglas Davidson wrote:
It is also worth noting that an application is just an ordinary
executable (inside a bundle), and it can be invoked directly just like
any other executable. For example, typing
"/Applications/TextEdit.app/Contents/MacOS/TextEdit &" in a shell will
launch TextEdit. It will not do so in precisely the same standardized
way as the server process mentioned above, so this should not be used for
ordinary application launching, if you intend to achieve results
equivalent to double-clicking the app in the Finder. However, this can
be useful for cases in which you want direct control over the process, e.
g. to add command-line arguments.
Well that was what I meant, but meantime I've realized this would work
properly with native apps only: I don't see how this would run a CFM. At
least, it does not in my 10.1:
243 /tmp> /Applications/LocalApps/Adobe\ Photoshop\ 7.0/Adobe\ Photoshop\
7.0.app/Contents/MacOS/Adobe\ Photoshop\ 7.0
zsh: exec format error: /Applications/LocalApps/Adobe Photoshop 7.0/Adobe
Photoshop 7.0.app/Contents/MacOS/Adobe Photoshop 7.0
244 /tmp>
perhaps it was fixed in Jag, I don't know.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.