Merge pull request #47441 from shengis/fix-run-env-reset

Fix _run to reset LANGUAGE env variable
This commit is contained in:
Erik Johnson 2018-05-07 13:29:24 -05:00 committed by GitHub
commit 34b1b1ee53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -507,6 +507,7 @@ def _run(cmd,
env.setdefault('LC_TELEPHONE', 'C')
env.setdefault('LC_MEASUREMENT', 'C')
env.setdefault('LC_IDENTIFICATION', 'C')
env.setdefault('LANGUAGE', 'C')
else:
# On Windows set the codepage to US English.
if python_shell: