Re: [Pyobjc-dev] Python rather than ObjC for main?
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2002-11-12 20:34:38
|
Just van Rossum wrote: > Here's what I just cooked up, and works for me: Slight improvement: #!/usr/bin/env python import os from sys import argv, executable realmain = os.path.join(os.path.dirname(os.path.dirname(argv[0])), "Resources", "realmain.py") argv.insert(1, realmain) os.execve(executable, argv, os.environ) Just |