We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6063570 commit f6107d9Copy full SHA for f6107d9
nbgitpuller/pull.py
@@ -16,6 +16,8 @@ def execute_cmd(cmd, **kwargs):
16
yield '$ {}\n'.format(' '.join(cmd))
17
kwargs['stdout'] = subprocess.PIPE
18
kwargs['stderr'] = subprocess.STDOUT
19
+ # Explicitly set LANG=C, as `git` commandline output will be different if
20
+ # the user environment has a different locale set!
21
kwargs['env'] = dict(os.environ, LANG='C')
22
23
proc = subprocess.Popen(cmd, **kwargs)
0 commit comments