Subprocess with Style
Soldier: Subprocess with Style
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
$ pip install soldier
>>> 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)
The documentation is available at soldier.readthedocs.io
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.