Python wrapper for subprocesses which provides timeout functionality for length and time.