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: subprocces check_output
Type: Stage:
Components: Windows Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, steve.dower, tim.golden, zach.ware, Вадим Кара
Priority: normal Keywords:

Created on 2017-02-07 15:21 by Вадим Кара, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg287239 - (view) Author: Вадим Кара (Вадим Кара) Date: 2017-02-07 15:21
check_output(['command'])
Can't be decoded as it was in 3.5
check_output(['command']).decode('utf-8') returns UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8d in position 2: invalid start byte error.
msg287248 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2017-02-07 16:46
What's your actual command? And what output is it producing? Without those, we've got no hope of guessing what is going on here.

Nothing in subprocess should have changed because of my PEPs, other than decoding bytes passed as arguments (which IIRC wasn't possible before anyway, and we may have left it that way).
History
Date User Action Args
2022-04-11 14:58:42adminsetgithub: 73659
2017-02-07 16:46:43steve.dowersetmessages: + msg287248
2017-02-07 15:21:16Вадим Караcreate