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: "Shayne Wissler" <email@hidden>
- Date: Thu, 11 Dec 2008 11:42:39 -0700
Hi Bill,
I've got an application that isn't specifically for the Mac, and I
want the same standard user-experience whether they are on the Mac or
on Windows or on Linux. I want them to be able to run this program
from the command line by directly using the binary (without calling
"open"), to have it print messages to their terminal (something open
doesn't do), etc. Just like an X application would work on Linux. I
don't want for it to be required to have a .app directory with plists
or nibs or anything other than just my binary.
Shayne
On Thu, Dec 11, 2008 at 11:22 AM, Bill Bumgarner <email@hidden> wrote:
>> Is there a way to do this without making some kind of wrapper caller
>> that generates the directory and a script or some such? Or is it
>> wholly frowned upon to do what I'm wanting, and if so, why does it
>> half-work rather than fail with a decent error message?
>
> There is -- see Eric's followup for a clue -- but is wholly frowned upon and
> will lead to a non-standard user experience.
>
> Without knowing what you have done, it is hard to tell why it half-works.
>
> You can either post more details about what you have done and continue down
> this path.
>
> Or you could give a bit of information about what you are trying to do and
> see if someone might suggest a path that is a bit more standard and,
> subsequently, considerably easier.
>
> In Cocoa, if something seems absurdly hard to do, it is most likely because
> the something is wrong.
>
> b.bum
>
_______________________________________________
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