Christian Häggström <paj...@kalvdans.no-ip.org> added the comment:
I expect that 'ls' print the error message on its stderr, which would be redirected to stdout of the test Python program. If I had been using stderr = subprocess.STDOUT, I can agree with you that both output streams would go to /dev/null. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12607> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com