[issue8780] py3k: child process don't inherit stdout / stdout

STINNER Victor report at bugs.python.org
Fri May 21 14:37:57 CEST 2010


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

The following code works on 2.6, 2.7 (trunk), 3.1, but not on py3k.

import subprocess, sys
subprocess.call([sys.executable, '-c', 'print("Hello World!")'])

On py3k, sys.stdout and sys.stderr are equal to... None.

I hope that it's a problem with my setup.

----------
components: Interpreter Core, Library (Lib)
messages: 106232
nosy: haypo
priority: normal
severity: normal
status: open
title: py3k: child process don't inherit stdout / stdout
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8780>
_______________________________________


More information about the Python-bugs-list mailing list