Skip to main content

Creates a subprocess in simpler safer manner

Project description

# CPopen

A C reimplementation of the tricky bits of Python’s Popen.

It is currently implemented in a very specific way and might break under general use.

# TODO

  • Support string invocation - Currently only support array invocation
  • Support after fork func
  • Support all stream modes - Currently everything has to be PIPE

# Usage

`{.python} import cpopen proc = cpopen.CPopen(["echo", "3"]) proc.communicate() `

# Running the tests

`{.bash} nosetests tests/tests.py `

Project details


Download files

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

Files for cpopen, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size cpopen-1.4.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page