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} cd tests nosetests 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.

Source Distribution

cpopen-1.3.tar.gz (11.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page