Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
runwith-0.1.0-py2-none-any.whl (4.7 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jun 29, 2017
runwith-0.1.0-py3-none-any.whl (4.7 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jun 29, 2017
runwith-0.1.0.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Jun 29, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting