Re: Cocoa from the command line?
Re: Cocoa from the command line?
- Subject: Re: Cocoa from the command line?
- From: "b.bum" <email@hidden>
- Date: Sun, 25 Jan 2004 00:08:48 -0800
On Jan 25, 2004, at 12:01 AM, b.bum wrote:
Totally possible. It is just a matter of starting up Cocoa correctly.
You will likely be better off with a full app wrapper and just
execute the contained executable directly -- that will give you all of
the advantages of the full NSBundleized app runtime.
As Scott mentioned, this would require that the user be logged into the
system -- that there is a viable window manager up and running under
the UID of the external script such that the various bits of Cocoa that
require access to the Window Manager can get their job done.
I'm not sure if the CoreGraphics APIs presented via the aforementioned
Python wrapper will have this same restriction. The wrappers were
created as a part of the improved Printing pipeline in Panther and, as
such, might have significantly different(less) requirements than a full
blown desktop app.
b.bum
_______________________________________________
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.