Christian Häggström <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue12607>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to