8000
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 95ff827 commit fee2b6bCopy full SHA for fee2b6b
git/cmd.py
@@ -780,8 +780,8 @@ def _kill_process(pid):
780
if kill_after_timeout:
781
watchdog.cancel()
782
if kill_check.isSet():
783
- stderr_value = 'Timeout: the command "%s" did not complete in %d ' \
784
- 'secs.' % (" ".join(command), kill_after_timeout)
+ stderr_value = ('Timeout: the command "%s" did not complete in %d ' \
+ 'secs.' % (" ".join(command), kill_after_timeout)).encode(defenc)
785
# strip trailing "\n"
786
if stdout_value.endswith(b"\n"):
787
stdout_value = stdout_value[:-1]
0 commit comments