Poor man's shell operations
Project description
This Python library was created to use shell-like input/output direction in a context where the execution environment doesn’t support shell syntax. It provides a runwith executable that executes the command of your choice as a sub-process in an execution environment prepared according to your desires.
The original use case is for use of Tox as a task runner. Since Tox uses a limited subset of shell capabilities and developers are not interested in enhancing them (see Capturing output from commands), I had to wrap some kind of wrapper script. I rapidly started reusing in other projects and making it available on PyPI makes it easy to use like this:
[testenv] deps = runwith commands = runwith -o foo.log -- foo
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runwith-0.1.0.tar.gz.
File metadata
- Download URL: runwith-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09fd92763ebaabc11d6018ba5c0979d0ebac7d71448d715861b66fe842b6f2ba
|
|
| MD5 |
952092cfdb84ec8bffe64da1bf022202
|
|
| BLAKE2b-256 |
9a7e767da7600aa5dc9737217ff4fae23dd38e20756d463d968651d601926c79
|
File details
Details for the file runwith-0.1.0-py3-none-any.whl.
File metadata
- Download URL: runwith-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73795f34a736f09459865f6d3a9c8e0ae0bdf627ae90c5fde48794a36e73b7c6
|
|
| MD5 |
9bee45cd63115f21f0048a436c572b2c
|
|
| BLAKE2b-256 |
3943e51b8f106d434a8c6ca3279187c9e4065f2205304f4fef438bdd5355be0d
|
File details
Details for the file runwith-0.1.0-py2-none-any.whl.
File metadata
- Download URL: runwith-0.1.0-py2-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
186d12e42cce99343a9527fcfe74e7d53e272543ca0c4cf297d7de25bbae5c48
|
|
| MD5 |
f34a9a227ce9180a28266996fdb09d37
|
|
| BLAKE2b-256 |
3b16be94b6d546dd4684020ba37a2a440bea38f51463ae9c8bd25808cb8395c5
|