Codebase list python-procrunner / 29d5c06
missed a dictionary reference in the readme Markus Gerstel 3 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
4242 * runs an external process and waits for it to finish
4343 * does not deadlock, no matter the process stdout/stderr output behaviour
4444 * 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
4646 * process can run in a custom environment, either as a modification of
4747 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
5049 * stdout and stderr is printed by default, can be disabled
5150 * stdout and stderr can be passed to any arbitrary function for
5251 live processing (separately, both as unicode strings)
5352 * optionally enforces a time limit on the process, raising a
5453 subprocess.TimeoutExpired exception if it is exceeded.
54
5555
5656 Credits
5757 -------