Skip to content
/ cpopen Public

Pure C implementation of the important bits of pythons Popen

License

Notifications You must be signed in to change notification settings

lenoch/cpopen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

import cpopen
proc = cpopen.CPopen(["echo", "3"])
proc.communicate()

Running the tests

cd tests
nosetests tests.py

About

Pure C implementation of the important bits of pythons Popen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published