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

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.

References: 
 >Cocoa from the command line? (From: Jens Bauer <email@hidden>)
 >Re: Cocoa from the command line? (From: "b.bum" <email@hidden>)

  • Prev by Date: Re: Cocoa from the command line?
  • Next by Date: Java Tool with NSTask?
  • Previous by thread: Re: Cocoa from the command line?
  • Next by thread: programmatically instantiating and displaying NSWindow
  • Index(es):
    • Date
    • Thread