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

process control -- easy fork-exec and pipe with I/O redirection

Project Description is a layer on top of subprocess. The subprocess module supports a rich API but is clumsy for many common use cases, namely sync/async fork-exec, command substitution and pipelining, all of which is trivial to do on system shells.

The goal is to make Python a sane alternative to non-trivial shell scripts.


  • Easy to fork-exec commands, wait or no wait
  • Easy to capture stdout/stderr of children (command substitution)
  • Easy to express I/O redirections
  • Easy to construct pipelines
  • Use short names for easy interactive typing

Documentation is at <>.

This module depends on Python 2.6, or where subprocess is available. Doctests require /bin/sh to pass. Tested on Linux.

This is an alpha release. Expect bugs.

Release History

Release History

This version
History Node


History Node


History Node


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
pc-0.0.3.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Aug 23, 2010

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