Re: [Pythonmac-SIG] appscript rocket-in-dock preventing logout

2009-01-31 Thread Bill Janssen
Ned Deily wrote: > In article <55150.1233433...@parc.com>, Bill Janssen > wrote: > > has wrote: > > > ...or prevent the OS from automatically upgrading your > > > python process to a GUI process (which it only does if it knows the > > > executable is located in an application bundle, e.g. Pyth

Re: [Pythonmac-SIG] appscript rocket-in-dock preventing logout

2009-01-31 Thread has
On 31 Jan 2009, at 20:18, Bill Janssen wrote: has wrote: ...or prevent the OS from automatically upgrading your python process to a GUI process (which it only does if it knows the executable is located in an application bundle, e.g. Python.app/ Contents/MacOS/python). Thanks! I'm not runnin

Re: [Pythonmac-SIG] appscript rocket-in-dock preventing logout

2009-01-31 Thread Ned Deily
In article <55150.1233433...@parc.com>, Bill Janssen wrote: > has wrote: > > ...or prevent the OS from automatically upgrading your > > python process to a GUI process (which it only does if it knows the > > executable is located in an application bundle, e.g. Python.app/ > > Contents/MacOS/pyth

Re: [Pythonmac-SIG] appscript rocket-in-dock preventing logout

2009-01-31 Thread Bill Janssen
Bill Janssen wrote: > I'm not running Python.app -- I'm running /usr/bin/python, which if I > follow the symlinks leads me to > /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5, > which in turn "file" shows to be a dual-architecture executable, which > in my case is "Mach-O

Re: [Pythonmac-SIG] appscript rocket-in-dock preventing logout

2009-01-31 Thread Bill Janssen
has wrote: > ...or prevent the OS from automatically upgrading your > python process to a GUI process (which it only does if it knows the > executable is located in an application bundle, e.g. Python.app/ > Contents/MacOS/python). Thanks! I'm not running Python.app -- I'm running /usr/bin/python

Re: [Pythonmac-SIG] appscript rocket-in-dock preventing logout

2009-01-31 Thread has
Bill Janssen wrote: We discussed this a bit last year, but with no resolution that I remember. I've got a situation where a Python program is preventing logout/shutdown. It's a script that just runs in an endless loop watching what app I'm working with; when it sees one it knows (Preview, M