[Pythonmac-SIG] how to avoid GUI launcher launching?

Ronald Oussoren ronaldoussoren at mac.com
Sun Oct 22 10:01:41 CEST 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20061022/cb79b2a7/attachment.bin 


More information about the Pythonmac-SIG mailing list