k3proc
easy to use Popen
k3proc is a component of pykit3 project: a python3 toolkit set.
k3proc is utility to create sub process.
Execute a shell script::
>>> returncode, out, err = k3proc.shell_script('ls / | grep bin')
Run a command::
# Unlike the above snippet, following statement does not start an sh process.
returncode, out, err = k3proc.command('ls', 'a*', cwd='/usr/local')
Install
pip install k3proc
Synopsis
>>> returncode, out, err = k3proc.shell_script('ls / | grep bin')
Author
Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Metadata
Release files for k3proc 0.2.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| k3proc-0.2.20.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| k3proc-0.2.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / k3proc-0.2.20.tar.gz
| Download URL | k3proc-0.2.20.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4af110df2ceda251782894d610ee76dca82a88f2bc2f121809e7c18e90287458
|
|
BLAKE2b-256 checksum How to use checksums |
f9b80296ddd403cf86e619812972ab183e8939ba454159575cc3a07480bf2c8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / k3proc-0.2.20-py3-none-any.whl
| Download URL | k3proc-0.2.20-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57f4bdc8fd657cf203242a2ab70167db4dcb0017a8951b4cc70c635f21609866
|
|
BLAKE2b-256 checksum How to use checksums |
3461db64dc1f7610d79390f41c6328a70b8a5f62cec6802b25107bce15448a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|