Re: Starting Cocoa apps from the command line
Re: Starting Cocoa apps from the command line
- Subject: Re: Starting Cocoa apps from the command line
- From: Sherm Pendley <email@hidden>
- Date: Thu, 11 Dec 2008 13:53:46 -0500
On Dec 11, 2008, at 1:35 PM, Shayne Wissler wrote:
On Thu, Dec 11, 2008 at 11:18 AM, Eric Schlegel <email@hidden>
wrote:
Jumping in late here...
It sounds like what you want to create is just a flat-file binary
that does
not use the bundle hierarchy that is typical for a Mac OS X app.
I.e., you
want your app to just be a single file "MyApp" rather than a
hierarchy
"MyApp.app/Contents/MacOS/MyApp". Is that correct?
Yes, that is exactly what I want
May I ask *why* you want that? It's not what your users - assuming
they're familiar with Macs - will expect. If you want to provide a
command-line tool along with your app, there are better (i.e. more Mac-
like) ways to accomplish that goal, than the one you're proposing.
Case in point - BBEdit. It's a normal .app bundle in all respects, but
it *also* comes with a command-line tool that's a non-bundled
executable that uses /usr/bin/open to launch the app.
sherm--
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden