-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move to markdown for README * Add changelog
- Loading branch information
1 parent
b706216
commit 317826f
Showing
4 changed files
with
48 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## v0.2.0 | ||
|
||
- Support for cwd when executing commands | ||
- Supoort for streaming of output to stdout | ||
|
||
## v0.1.0 | ||
|
||
Initial Relase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Soldier: Subprocess with Style | ||
|
||
[](https://travis-ci.org/yashmehrotra/soldier) [](https://github.com/yashmehrotra/soldier/blob/master/LICENSE) [](http://soldier.readthedocs.org/en/latest/?badge=latest) | ||
|
||
 | ||
|
||
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 | ||
|
||
``` sh | ||
$ pip install soldier | ||
``` | ||
|
||
## Getting Started | ||
|
||
``` python | ||
>>> 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](http://soldier.readthedocs.io/) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters