Ronald Oussoren <ronaldousso...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8868>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to