Unless I misunderstood your situation, I believe using the "open"
command should work.

Example:

----
open x.app
----

Cheers,
Mani

On Wed, Dec 10, 2008 at 4:47 PM, Shayne Wissler <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a Cocoa application that I am compiling in the traditional UNIX
> manner using Makefiles and I want to be able to invoke it with
> command-line arguments and without creating/installing it like
> traditional OSX apps, as in "x.app/Contents/MacOS/x". When I tried the
> usual thing that works on UNIX, compiling to binary and just running
> it, my application got mouse events but no keyboard events, among
> other strange things.
>
> 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?
>
>
> Shayne Wissler
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/mani%40tungle.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to