subprocess-run is a Python library that extends the standard `subprocess` module, offering a simplified `run` function with opinionated defaults like `check=True` and stripped output. It provides a more convenient way to execute external commands compared to the standard library's `subprocess.Popen`. The current version is 0.0.8, with the last release approximately two years ago, indicating a maintenance-focused project rather than active development.
pip install subprocess-runVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use the `subprocess_run.run` function for basic command execution, handling failing commands (due to default `check=True`), and providing input data via stdin using `input_data`.
Always consult the `subprocess-run` documentation for specific parameter usage. Be aware of the default `check=True` and `strip_result=True` and explicitly set them to `False` if standard library behavior is desired.
Evaluate if the current feature set meets your needs. For projects requiring active development, newer Python compatibility, or specific bug fixes, consider the standard `subprocess` module or more actively maintained alternatives if `subprocess-run` specific features are not critical.
No dependency data recorded yet.