Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Easy to use python subprocess interface
Python

fix pypi name

latest commit 37826109fa
ponty authored
Failed to load latest commit information.
docs add versioneer
easyprocess fix pypi name
tests increase timeout in deadlock test
.coveragerc add travis and coverall config
.gitattributes versioneer in gitattributes
.gitignore versioneer in gitattributes
.travis.yml fix travis
LICENSE.txt start
MANIFEST.in reomve versioneer
README.rst badges
TODO more doc
pavement.py reomve versioneer
requirements-test.txt tox+req
setup.py fix pypi name
tox.ini tox+req

README.rst

EasyProcess is an easy to use python subprocess interface.

Links:

Travis Coveralls Latest Version Supported Python versions License Downloads Code Health

Features:
  • layer on top of subprocess module
  • easy to start, stop programs
  • easy to get standard output/error, return code of programs
  • command can be list or string
  • logging
  • timeout
  • unit-tests
  • cross-platform, development on linux
  • global config file with program aliases
  • shell is not supported
  • pipes are not supported
  • stdout/stderr is set only after the subprocess has finished
  • stop() does not kill whole subprocess tree
  • unicode support
  • supported python versions: 2.6, 2.7, 3.2, 3.3, 3.4
Known problems:
  • none
Similar projects:

Basic usage

>>> from easyprocess import EasyProcess
>>> EasyProcess('python --version').call().stderr
u'Python 2.6.6'

Installation

General

  • install pip

  • install the program:

    # as root
    pip install EasyProcess
    

Ubuntu

sudo apt-get install python-pip
sudo pip install EasyProcess

Uninstall

# as root
pip uninstall EasyProcess
Something went wrong with that request. Please try again.