I posted to the MacPython mailing list:
pythonw does the following when run with a source file as its argument:
% pythonw TUI.py
original argc=2
original argv[0] = "/Applications/Python.app/Contents/MacOS/python"
original argv[1] = "TUI.py"
modified argc=2
modified argv[0] = "/Applications/Python.app/Contents/MacOS/python"
modified argv[1] = "TUI.py"
Details:
- Everything is built as per the instructions I posted at http://www.astro.washington.edu/owen in particular:
- MacOS X 10.2
- Python 2.2.2 framework built from source, with setup.py modified to be similar to or identical to the 2.3a0 setup.py, so it can find aqua Tk 8.4.1
- The file pythonw is:
#!/bin/sh
exec /Applications/Python.app/Contents/MacOS/python $@
Jack Jansen kindly suggested that I could fix this by removing the debug prints from macmain.c and rebuilding. He also asked me to file this bug report.
|