[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
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
I suppose this would also be possible through execv?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list