Skip to main content

Subprocess with Style

Project description

Soldier: Subprocess with Style

image image Documentation

image

Soldier is an Apache2 licensed library designed for executing and managing 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)

Documentation

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.

Files for soldier, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size soldier-0.2.5-py3-none-any.whl (8.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size soldier-0.2.5.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page