[issue6834] use different mechanism for pythonw on osx
Martin v. Löwis
report at bugs.python.org
Thu Sep 24 09:30:18 CEST 2009
Martin v. Löwis <martin at v.loewis.de> added the comment:
> This version uses posix_spawn rather than execv to start the real
> interpreter.
In what way is that better? It creates a new process (IIUC); therefore,
I think that using it is worse than using execv. Anybody killing the
pythonw process would only kill the wrapper.
> The main advantage of the new implementation is that 'arch
> -ppc pythonw' works as expected, with the current version of pythonw the
> 'arch' command only affects the pythonw executable and not the real
> interpreter.
I suppose this would also be possible through execv?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6834>
_______________________________________
More information about the Python-bugs-list
mailing list