This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Popen output on windows server 2019
Type: behavior Stage:
Components: Library (Lib), Windows Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: SilentGhost, paul.moore, steve.dower, tim.golden, vstinner, weispinc, zach.ware
Priority: normal Keywords:

Created on 2019-04-12 14:01 by weispinc, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
popen.py weispinc, 2019-04-12 14:21
Messages (6)
msg340044 - (view) Author: (weispinc) Date: 2019-04-12 14:01
Popen, when run on Windows server 2019 does not output binary by default.
Tried Python 3.5 3.6 3.7.
OK on Windows server 2016 and 1012.
msg340045 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2019-04-12 14:04
Could you add the code that you're running.
msg340047 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-04-12 14:08
> Popen, when run on Windows server 2019 does not output binary by default.

What do you mean by "binary"?
msg340053 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-04-12 14:57
As we haven't done anything special for WS2019 yet, this is a change in Windows (or whatever tool is outputting the text).

You could report it to Microsoft. I don't know the best way to report bugs in Windows Server though, but most people with it have support contacts.
msg340068 - (view) Author: (weispinc) Date: 2019-04-12 15:40
The tool is outputing exactly the same file on both WS2019 and WS2016.
I guess Popen is using some OS library or environment that has changed in WS2019.
msg340097 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-04-12 18:46
> I guess Popen is using some OS library or environment that has changed in WS2019.

Yep, which is why the report should go to those responsible for WS2019. If they say it's an intentional change and users are supposed to work around it themselves, then we can do a workaround, but if it's unintentional then they should fix it.
History
Date User Action Args
2022-04-11 14:59:13adminsetgithub: 80795
2019-04-12 18:46:32steve.dowersetmessages: + msg340097
2019-04-12 15:40:10weispincsetmessages: + msg340068
2019-04-12 14:57:50steve.dowersetmessages: + msg340053
2019-04-12 14:21:37weispincsetfiles: + popen.py
2019-04-12 14:08:38vstinnersetnosy: + vstinner
messages: + msg340047
2019-04-12 14:04:54SilentGhostsettitle: Popen -> Popen output on windows server 2019
nosy: + paul.moore, tim.golden, SilentGhost, zach.ware, steve.dower

messages: + msg340045

versions: + Python 3.7
components: + Library (Lib), Windows
2019-04-12 14:01:34weispinccreate