Skip to content

nirs/cpopen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 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

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

# Running the tests

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

About

This is a mirror from gerrit.ovirt.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 54.3%
  • C 41.6%
  • Makefile 4.1%