Skip to main content

A python library of subprocess module wrapper.

Project description

subprocrunner

https://img.shields.io/pypi/pyversions/subprocrunner.svg https://travis-ci.org/thombashi/subprocrunner.svg?branch=master https://coveralls.io/repos/github/thombashi/subprocrunner/badge.svg?branch=master

Summary

A python library of subprocess module wrapper.

Examples

from subprocrunner import SubprocessRunner

runner = SubprocessRunner("echo test")
print("return code: {:d}".format(runner.run()))
print("stdout: {}".format(runner.stdout))
return code: 0
stdout: test

Installation

pip install subprocrunner

Dependencies

Python 2.7+ or 3.3+

Test dependencies

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subprocrunner-0.3.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

subprocrunner-0.3.0-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page