2.1.22.9. cli.helpers.spr
Standardized process execution and result handling utilities for Python’s subprocess.
This module defines a data class for subprocess results, provides helpers to decode outputs, and offers a function to run commands with consistent error handling and output formatting.
Functions
|
Decode subprocess output from bytes to string and return a SubprocessResult. |
|
Run a command as a subprocess and capture its output. |
Classes
|
Represent the result of a subprocess execution. |