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.

Source Distribution

cpopen-1.4.tar.gz (16.7 kB view details)

Uploaded Source

File details

Details for the file cpopen-1.4.tar.gz.

File metadata

  • Download URL: cpopen-1.4.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cpopen-1.4.tar.gz
Algorithm Hash digest
SHA256 b0efaf42d3f27149cd2feb72ebffe6a0aad52119e72aa8835f3850903a76827c
MD5 857429730a4842b9836014bea2a0057a
BLAKE2b-256 d281a072edb87ff5ed10acba03be9fad6714f18529d910e67a2074d16aea03c6

See more details on using hashes here.

Supported by

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