[Python-Dev] documentation / implementation question for subprocess.check_output
chris at simplistix.co.uk
Fri Jul 17 09:44:43 CEST 2015
On 16/07/2015 16:27, Nick Coghlan wrote:
> On 16 July 2015 at 20:35, Guido van Rossum <guido at python.org> wrote:
>> In which version? I don't see that phrase in the 3.5 docs.
> The equivalent note in 3.x is "Do not use stdout=PIPE or stderr=PIPE
> with this function. The child process will block if it generates
> enough output to a pipe to fill up the OS pipe buffer as the pipes are
> not being read from."
> I think Chris is right that it's a docs bug - the warning is
> applicable to subprocess.call and subprocess.check_call (which use
> Popen.wait), but not to subprocess.check_output (which uses
Cool, if I get a chance, I'll try and work up a patch, but it's been so
long since I last did any core-dev work that I'd need to read up on what
current processes are.
More information about the Python-Dev