mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-30 01:30:15 +02:00
fix text encoding for subprocesses
This commit is contained in:
@@ -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"""
|
"""Patched of subprocess.run to fix blocking io making timeout=innefective"""
|
||||||
|
|
||||||
if input is not None:
|
if input is not None:
|
||||||
|
Reference in New Issue
Block a user