[issue16624] subprocess.check_output should allow specifying stdin as a string

Serhiy Storchaka report at bugs.python.org
Thu Apr 18 21:48:37 CEST 2013


Serhiy Storchaka added the comment:

I partially agree with you. We must copy blocks in communicate().

Your patch is great, but I doubt that there is a best feature. If we teach communicate() to work with file-like objects, this feature will exceed your suggestion and 'input' parameter of check_output() will be redundant. Are you want to implement a more powerful feature? If not, I will commit your patch. But I hope that before the 3.4 release we will replace it with a more powerful feature.

Mark, can you please run subprocesses tests on Windows?

----------

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


More information about the Python-bugs-list mailing list