[New-bugs-announce] [issue35646] Subprocess.Popen('python -v', stdout=PIPE, stderr=PIPE, Shell=True) gives output in stderr

Deepak Joshi report at bugs.python.org
Thu Jan 3 02:37:43 EST 2019


New submission from Deepak Joshi <deepakjoshishri at gmail.com>:

Subprocess.Popen('python -v',stdout=PIPE,stderr=PIPE,Shell=True)

Prduces output in stderr instead of stdout.

For others: pip --version or git --version output is in stdout and is expected.

----------
components: Windows, ctypes
messages: 332915
nosy: Deepak Joshi, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Subprocess.Popen('python -v',stdout=PIPE,stderr=PIPE,Shell=True) gives output in stderr
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list