Title: subprocces check_output
Type: Stage:
Components: Windows Versions: Python 3.6
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 2017-02-07 16:46 by steve.dower.

Messages (2)
msg287239 - (view) Author: Вадим Кара (Вадим Кара) Date: 2017-02-07 15:21
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).
Date User Action Args
2017-02-07 16:46:43steve.dowersetmessages: + msg287248
2017-02-07 15:21:16Вадим Караcreate