[issue12098] Child process running as debug
Charles-François Natali
report at bugs.python.org
Tue May 17 23:13:35 CEST 2011
Charles-François Natali <neologix at free.fr> added the comment:
Under Linux, child processes are created with fork(), so they're run with the exact same environment as the parent process (among which sys.flags.optimize).
I don't know Windows at all, but since I've heard it doesn't have fork(), my guess is that the command-line is constructed before creating the child process, and maybe the -O command line argument is lost.
Just a guess.
----------
nosy: +neologix
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12098>
_______________________________________
More information about the Python-bugs-list
mailing list