浏览代码

fix text encoding for subprocesses

Nick Sweeting 5 年之前
父节点
当前提交
c68543af74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      archivebox/system.py

+ 1 - 1
archivebox/system.py

@@ -17,7 +17,7 @@ from .config import OUTPUT_PERMISSIONS
 
 
 
-def run(*args, input=None, capture_output=True, text=True, timeout=None, check=False, **kwargs):
+def run(*args, input=None, capture_output=True, text=False, timeout=None, check=False, **kwargs):
     """Patched of subprocess.run to fix blocking io making timeout=innefective"""
 
     if input is not None: