mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-03-26 01:42:32 +10:00
cli experience improvements
This commit is contained in:
@@ -25,6 +25,7 @@ from .config import OUTPUT_PERMISSIONS
|
||||
def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs):
|
||||
"""Patched of subprocess.run to fix blocking io making timeout=innefective"""
|
||||
|
||||
|
||||
if input is not None:
|
||||
if 'stdin' in kwargs:
|
||||
raise ValueError('stdin and input arguments may not both be used.')
|
||||
|
||||
Reference in New Issue
Block a user