cli experience improvements

This commit is contained in:
Nick Sweeting 2020-06-25 17:47:55 -04:00
parent e2a5e0136c
commit 43c471e4af
6 changed files with 33 additions and 12 deletions

View file

@ -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.')