cpopen-1.4
توضیحات
Creates a subprocess in simpler safer manner
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cpopen-1.4 |
| نام | cpopen |
| نسخه کتابخانه | 1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yaniv Bronhaim |
| ایمیل نویسنده | ybronhei@redhat.com |
| آدرس صفحه اصلی | redhat.com |
| آدرس اینترنتی | https://pypi.org/project/cpopen/ |
| مجوز | GNU GPLv2+ |
# 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
```
نحوه نصب
نصب پکیج whl cpopen-1.4:
pip install cpopen-1.4.whl
نصب پکیج tar.gz cpopen-1.4:
pip install cpopen-1.4.tar.gz