diff --git a/.gitignore b/.gitignore index 0404884..f4629d5 100644 --- a/.gitignore +++ b/.gitignore @@ -144,6 +144,8 @@ README_ubuntu.md README_macos.md realesrgan-ncnn-vulkan realesrgan-ncnn-vulkan.exe +upscayl-bin +upscayl-bin.exe vcomp140.dll vcomp140d.dll diff --git a/task.py b/task.py index 127469c..bcfa556 100644 --- a/task.py +++ b/task.py @@ -94,6 +94,7 @@ def run(self) -> None: cmd, stderr=subprocess.PIPE, universal_newlines=True, + encoding='utf-8', creationflags=subprocess.CREATE_NO_WINDOW if os.name == 'nt' else 0, ) as p: for line in p.stderr: @@ -298,6 +299,7 @@ def run(self) -> None: cmd, stderr=subprocess.PIPE, universal_newlines=True, + encoding='utf-8', creationflags=subprocess.CREATE_NO_WINDOW if os.name == 'nt' else 0, ) as p: for line in p.stderr: