A wrapper library for Python's subprocess module that enhances readability and error handling. Current version 2.0.1 runs on Python >=3.7 with monthly/bimonthly releases.
pip install subprocrunnerVerified import paths — ran on the pinned version, not inferred.
Run a shell command and capture stdout.
Update code from `returncode, stdout, stderr = runner.run()` to `runner.run(); returncode, stdout, stderr = runner.returncode, runner.stdout, runner.stderr`.
Use `runner.run(raise_exception=False)` to handle errors manually.
Run `pip install subprocrunner`.
Call `runner.run()` before accessing `runner.stdout`.
No dependency data recorded yet.