• 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: Starting Cocoa apps from the command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Starting Cocoa apps from the command line (From: "Shayne Wissler" <email@hidden>)
 >Re: Starting Cocoa apps from the command line (From: "Shayne Wissler" <email@hidden>)
 >Re: Starting Cocoa apps from the command line (From: Eric Schlegel <email@hidden>)
 >Re: Starting Cocoa apps from the command line (From: "Shayne Wissler" <email@hidden>)

  • Prev by Date: Re: Starting Cocoa apps from the command line
  • Next by Date: Re: Starting Cocoa apps from the command line
  • Previous by thread: Re: Starting Cocoa apps from the command line
  • Next by thread: Re: Starting Cocoa apps from the command line
  • Index(es):
    • Date
    • Thread