[issue8868] Framework install does not behave as a framework
Ronald Oussoren
report at bugs.python.org
Tue Jun 1 16:17:28 CEST 2010
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
The pythonw executable always uses execv on OSX 10.4 because posix_spawnv isn't available there.
A possibly significant change is the value of argv[0] as passed to the Python.app executable.
Could you check if this patch fixes the issue?
Index: Mac/Tools/pythonw.c
===================================================================
--- Mac/Tools/pythonw.c (revision 81605)
+++ Mac/Tools/pythonw.c (working copy)
@@ -149,6 +149,8 @@
main(int argc, char **argv) {
char* exec_path = get_python_path();
+ argv[0] = exec_path;
+
#ifdef HAVE_SPAWN_H
/* We're weak-linking to posix-spawnv to ensure that
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8868>
_______________________________________
More information about the Python-bugs-list
mailing list