New submission from sanjay patel <patel.sanjay...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue34233>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to