[Pythonmac-SIG] CGI + appscript newbie question/problem
has
hengist.podd at virgin.net
Mon May 28 14:50:09 CEST 2007
Hamish Allan wrote:
> When you run appscript at the command line and the little rocket
> appears in the Dock, that's Python connecting to the window server --
> through which Apple events are managed.
I'm not sure why Python's command line interpreter upgrades itself to
a full GUI process when appscript runs - appscript hasn't needed a
Window Manager connection since 0.16.0. I think the interpreter's
auto-GUIfication code is just a bit over-sensitive: IIRC, it gets set
off by the Process Manager calls when appscript connects to an
application, although those don't require a GUI connection either.
I'd agree it's probably a security issue due to Apache (presumably)
running as a restricted user, though as to why it's the import that
fails, I'd really need to see a traceback.
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
http://appscript.sourceforge.net/objc-appscript.html
More information about the Pythonmac-SIG
mailing list