[New-bugs-announce] [issue34233] subprocess.check_output goes to infinte loop

sanjay patel report at bugs.python.org
Thu Jul 26 06:44:12 EDT 2018


New submission from sanjay patel <patel.sanjay197 at gmail.com>:

Below snipped goes to infinite loop when running through windows command prompt but works in python IDLE

import subprocess
subprocess.check_output('cmd.exe dir', stderr=subprocess.STDOUT)

save as:test.py
in windows cmd use command: python test.py
then it goes to infine loop but the same program works in Python IDLE.

----------
components: Library (Lib)
messages: 322413
nosy: sanjay patel
priority: normal
severity: normal
status: open
title: subprocess.check_output goes to infinte loop
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34233>
_______________________________________


More information about the New-bugs-announce mailing list