On Oct 21, 2006, at 10:24 PM, has wrote:

Hi all,

I'd really like to find a way to stop that annoying GUI launcher
starting up every time folk use appscript in Python 2.4+. It appears
that calls to the GetNextProcess and LaunchApplication functions in
aem.send.PSN are what's triggering it, but it's neither needed
(appscript works fine under python2.3 and ruby without it) nor
welcome (it's intrusive and slows down launching times). What exactly
is the hair-trigger on that thing, and any ideas how I can suppress
it/route around it?

You're using an API that causes the bouncing from an program in an application bundle (the embedded Python.app). Appearently some API's transform a process from a normal process to a GUI process if the program's binary is inside an application bundle.

Maybe this can be fixed by making Python.app a faceless application, although we should then thoroughly test if pythonw keeps working.

If it is we can fix this for python2.5 but not for 2.4, 2.4.4 was just released and is almost certainly the last release in the 2.4.x branch.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to