UNKNOWN
Project description
RunM is an opinionated version of subprocess, making it just that little bit more convenient to run shell commands from within Python code.
It is reasonably straightforward: ` import runm runm.run("echo it works") #=> returns 'it works\n' runm.run("echo 1 2 5 |cat") #=> returns '1 2 5\n' ` When a command that fails is run e.g. ` runm.run("cat /not_a_file") ` an exception is raised just like subprocess. However, the error message generated includes STDERR and STDOUT, which is more convenient for debugging.
Installation
commandeer can be installed by unzipping the source code in one directory and using this command:
sudo python setup.py install
You can also install it directly from the Python Package Index with this command:
sudo pip install runm
Licence
See file LICENCE.txt in this folder
Contribute
RunM is an open-source software. Everyone is welcome to contribute !
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file runm-0.0.2.tar.gz
.
File metadata
- Download URL: runm-0.0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | def316cc83b0a06046c19010532e519a93a3ca5828933365090cacbd3a56da94 |
|
MD5 | 9bd611cc8497ebf0230d5e9c9a9372df |
|
BLAKE2b-256 | 82672e1683ac062e9cb9ba4b0b9aad3103678dbb6126e1f0ff775dc5fe53f868 |