EasyProcess 0.1.2
Easy to use python subprocess interface.
Latest Version: 0.1.4
EasyProcess is an easy to use python subprocess interface.
- Links:
- home: https://github.com/ponty/EasyProcess
- documentation: http://ponty.github.com/EasyProcess
- 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
- crossplatform, 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
- Known problems:
- Python 3 is not supported
- Similar projects:
- execute (http://pypi.python.org/pypi/execute)
- commandwrapper (http://pypi.python.org/pypi/commandwrapper)
- extcmd (http://pypi.python.org/pypi/extcmd)
Basic usage
>>> from easyprocess import EasyProcess
>>> EasyProcess('python --version').call().stderr
'Python 2.6.6'
Installation
General
- install setuptools or pip
- install the program:
if you have setuptools installed:
# as root easy_install EasyProcess
if you have pip installed:
# as root pip install EasyProcess
Ubuntu
sudo apt-get install python-setuptools sudo easy_install EasyProcess
Uninstall
# as root pip uninstall EasyProcess
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| EasyProcess-0.1.2.tar.gz (md5) | Source | 2012-01-07 | 34KB | 1059 | |
- Author: ponty
- Home Page: https://github.com/ponty/easyprocess
- Keywords: subprocess interface
- License: BSD
- Categories
- Package Index Owner: ponty
- DOAP record: EasyProcess-0.1.2.xml
