[Pythonmac-SIG] MachoPython 2.2.2 build question

Brian Lenihan brian_l@mac.com
Tue, 5 Nov 2002 20:38:39 -0800


On Tuesday, November 5, 2002, at 04:54  PM, Russell E Owen wrote:

> I tried to build MachoPython 2.2.2 with aqua Tk and ran into a snag:  
> Tkinter acts oddly.

> this puts up a Tk root window, as usual, but whenever I try to click  
> on the Tk window, I get:
>>>>  SetFrontProcess failed,-606

Add add a shell script named pythonw to /usr/local/bin or somewhere  
else in your PATH

#!/bin/sh
exec  
/Library/Frameworks/Python.framework/Versions/Current/Resources/ 
Python.app/Contents/MacOS/python "$@"

use pythonw to launch GUI apps.