mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
add original src url to dosctring
This commit is contained in:
parent
e7c7a8f71c
commit
b3a89172ab
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ from .config import OUTPUT_PERMISSIONS
|
||||||
|
|
||||||
|
|
||||||
def run(*args, input=None, capture_output=True, timeout=None, check=False, text=False, start_new_session=True, **kwargs):
|
def run(*args, input=None, capture_output=True, timeout=None, check=False, text=False, start_new_session=True, **kwargs):
|
||||||
"""Patched of subprocess.run to kill forked child subprocesses and fix blocking io making timeout=innefective"""
|
"""Patched of subprocess.run to kill forked child subprocesses and fix blocking io making timeout=innefective
|
||||||
|
Mostly copied from https://github.com/python/cpython/blob/master/Lib/subprocess.py
|
||||||
|
"""
|
||||||
|
|
||||||
if input is not None:
|
if input is not None:
|
||||||
if kwargs.get('stdin') is not None:
|
if kwargs.get('stdin') is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue