module documentation
Undocumented
| Class | |
Extension of subprocess.CompletedProcess that also carries peak memory usage. |
| Function | subprocess |
Wrapper around subprocess.run that logs, raises on error, and tracks peak RAM usage without hanging on stdout/stderr. |
Wrapper around subprocess.run that logs, raises on error, and tracks peak RAM usage without hanging on stdout/stderr.
| Parameters | |
cmd:str | list[ | Command to execute. String or list of arguments. |
silent:bool | If True, suppress logs. |
| Returns | |
SubprocessResult | SubprocessResult with .peak_memory attribute. |