patch subprocess.run to have better timeout handling

This commit is contained in:
Nick Sweeting 2019-01-20 14:07:28 -05:00
parent e620722bb9
commit ce07a6c738
2 changed files with 40 additions and 2 deletions

View file

@ -1,10 +1,10 @@
import os
import re
import sys
from functools import wraps
from collections import defaultdict
from datetime import datetime
from subprocess import run, PIPE, DEVNULL
from peekable import Peekable
@ -38,6 +38,7 @@ from util import (
progress,
chmod_file,
pretty_path,
run, PIPE, DEVNULL
)