| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 95ff827 commit 1dbfd29
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -780,8 +780,8 @@ def _kill_process(pid): | |||
| 780 | 780 | if kill_after_timeout: | |
| 781 | 781 | watchdog.cancel() | |
| 782 | 782 | if kill_check.isSet(): | |
| 783 | - stderr_value = 'Timeout: the command "%s" did not complete in %d ' \ | ||
| 784 | - 'secs.' % (" ".join(command), kill_after_timeout) | ||
| 783 | + stderr_value = ('Timeout: the command "%s" did not complete in %d ' | ||
| 784 | + 'secs.' % (" ".join(command), kill_after_timeout)).encode(defenc) | ||
| 785 | 785 | # strip trailing "\n" | |
| 786 | 786 | if stdout_value.endswith(b"\n"): | |
| 787 | 787 | stdout_value = stdout_value[:-1] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments