Skip to main content

Subprocess with Style

Project description

https://img.shields.io/badge/license-APACHE2-blue.svg?style=flat-square

Soldier is an Apache2 licensed library designed for executing system processes with ease.

It is written on top of subprocess and has a much user-friendly and pythonic interface.

And the best part - it is very easy to get started

Installation

$ pip install soldier

Getting Started

>>> import soldier

>>> print soldier.run('pwd').output
/home/python/

>>> firefox_process = soldier.run('firefox', background=True)
>>> firefox_process.pid
20749

>>> job = soldier.run('myjob',timeout=30)

Documenation

The documentation is available at soldier.readthedocs.io

Project details


Download files

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

Source Distributions

soldier-0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

soldier-0.0.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

soldier-0.0.2-py2-none-any.whl (5.2 kB view hashes)

Uploaded Python 2

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