missed a dictionary reference in the readme
Markus Gerstel
3 years ago
42 | 42 | * runs an external process and waits for it to finish |
43 | 43 | * does not deadlock, no matter the process stdout/stderr output behaviour |
44 | 44 | * returns the exit code, stdout, stderr (separately, both as bytestrings), |
45 | and the total process runtime as a dictionary | |
45 | as a subprocess.CompletedProcess object | |
46 | 46 | * process can run in a custom environment, either as a modification of |
47 | 47 | the current environment or in a new environment from scratch |
48 | * stdin can be fed to the process, the returned dictionary contains | |
49 | information how much was read by the process | |
48 | * stdin can be fed to the process | |
50 | 49 | * stdout and stderr is printed by default, can be disabled |
51 | 50 | * stdout and stderr can be passed to any arbitrary function for |
52 | 51 | live processing (separately, both as unicode strings) |
53 | 52 | * optionally enforces a time limit on the process, raising a |
54 | 53 | subprocess.TimeoutExpired exception if it is exceeded. |
54 | ||
55 | 55 | |
56 | 56 | Credits |
57 | 57 | ------- |