New submission from STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8780> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com