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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
k3proc-0.2.17.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file k3proc-0.2.17.tar.gz.
File metadata
- Download URL: k3proc-0.2.17.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d4d3a175726616eeae43f6be145e98f8caef703f3c887ce2f28213a3e8979c
|
|
| MD5 |
967eef4f82ec94233e3e1213d14e12cd
|
|
| BLAKE2b-256 |
87cb836012bd9013302f5f5303b4364b10cf5cc401c537b4b176c0db512ac43b
|
File details
Details for the file k3proc-0.2.17-py3-none-any.whl.
File metadata
- Download URL: k3proc-0.2.17-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cff928c1b404b5611e40e79622ee68c93bfca1db2e654433b357635c956693d4
|
|
| MD5 |
af522e96fde47ec2b692adacaddf253c
|
|
| BLAKE2b-256 |
c8593dec989759db75e7d27062a1db65d7a6e4df30c2afe8fa901802acd9958e
|