[issue15005] trace corrupts return result on chained execution
Amaury Forgeot d'Arc
report at bugs.python.org
Tue Jun 5 17:06:24 CEST 2012
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
Python2 has a pure python implementation of subprocess, with separate calls to fork() and exec(); so the output of the subprocess contains the trace of the forked Python interpreter, until the exec() system call.
Python3 has a C implementation: _posixsubprocess.fork_exec() won't call the Python interpreter between fork() and exec(), and no trace is emitted.
Yes, Python3 is better :)
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15005>
_______________________________________
More information about the Python-bugs-list
mailing list