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