New submission from Wolfgang Maier:

from the console:

> py -3.7

or any other not installed Python version gives:
Requested Python version (3.7) not installed


However, when the launcher is executed from python via subprocess.Popen:

>>>import subprocess
>>>p=subprocess.Popen(['py', '-3.7'], stdout=subprocess.PIPE, 
>>>stderr=subprocess.PIPE)
>>>p.communicate()
(b'', b'')

the error message is not accessible. (Error messages from any successfully 
launched Python interpreter are available through p.stderr though.)

----------
components: Windows
messages: 255822
nosy: paul.moore, steve.dower, tim.golden, wolma, zach.ware
priority: normal
severity: normal
status: open
title: py launcher stderr is not piped to subprocess.Popen.stderr
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25789>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to