mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
cli experience improvements
This commit is contained in:
parent
e2a5e0136c
commit
43c471e4af
6 changed files with 33 additions and 12 deletions
|
@ -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.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue