Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Disable mandatory decoding with utf-8 #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adydychk
Copy link
Contributor

@adydychk adydychk commented Jun 4, 2019

Gives ability to use utf-16 without the errors, for example in case of using powershell.

Gives ability to use utf-16, for example in case of using powershell.
@@ -649,7 +649,6 @@ def cmd_exec(cmd, env=None, cwd=None, shell=True, log=None, verbose=True, hide=N
check=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
encoding='utf-8',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not quite good idea to disable encoding.
Need to be shure that output has correct format.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Should be added default parameter in this case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants