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.18
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.18.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| k3proc-0.2.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / k3proc-0.2.18.tar.gz
| Download URL | k3proc-0.2.18.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86459d451a9a4088d9fe810cdb7060e4e57fccc50cfea9ecc6f757c68a3f71ba
|
|
BLAKE2b-256 checksum How to use checksums |
4d1ba139f104855d04a5f1912fccbd0d9501f5c39b765bb8a339ab0e8e1495a1
|
| 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.18-py3-none-any.whl
| Download URL | k3proc-0.2.18-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bb43c374313bb3d7b40fc5dc425b6a9db077879c3e01dd5ce5a9fc29a4d3a83
|
|
BLAKE2b-256 checksum How to use checksums |
de7892af2e9c258fbc2a150ac5113870609ee0649f583413e2fa29c00183cbc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|