Deepak Joshi added the comment:
Thank you for the reply Eric.
Thought the behaviour is pretty wierd and opened the issue.
On Thu, 3 Jan 2019, 2:28 pm Eric V. Smith
> Eric V. Smith added the comment:
>
> That's just the way
Deepak Joshi added the comment:
Hello,
-V and --version both write to stderr not stdout.
On Thu, 3 Jan 2019, 1:29 pm Eric V. Smith
> Eric V. Smith added the comment:
>
> -v writes to stderr, so this is the expected behavior. Although maybe this
> could be better documented.
&
New submission from Deepak Joshi :
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
no