- # an app bundle. Just find pythonw on the path instead.
- return 'pythonw' + sys.version[:3], os.spawnlp
+ # an app bundle. But the bundle is always using a system
+ # framework so just hardcode the path to it.
+ if sys.version[:3] == "2.4":
+ return '/usr/local/bin/pythonw', os.spawnl
+ else:
+ return '/usr/bin/pythonw', os.spawnl