[issue1366] popen spawned process may not write to stdout under windows
Sean Reifschneider
report at bugs.python.org
Mon Mar 17 18:34:05 CET 2008
Sean Reifschneider <jafo at tummy.com> added the comment:
We've discussed this at the PyCon sprints, and here's the concensus:
os.popen inherits the parents stderr, and on Windows there is not an
existing valid stderr by default. So the parent should, to be
compatible with the Windows environment, create stderr or use popen2.
However, popen is deprecated. The best solution would be to use
subprocess module which is defined to do the right thing in this case.
popen is not.
Because popen is deprecated, we are going to leave this behavior and
documentation as it is.
----------
nosy: +jafo
priority: -> normal
resolution: -> wont fix
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1366>
__________________________________
More information about the Python-bugs-list
mailing list