A small example package
Project description
bounded_subprocess
The bounded-subprocess
module runs a subprocess with several bounds:
- The subprocess runs in a Linux session, so the process and all its children can be killed;
- The subprocess runs with a given timeout; and
- The parent captures a bounded amount of output from the subprocess and discards the rest.
Note that the subprocess is not isolated: it can use the network, the filesystem, or create new sessions.
Installation
python3 -m pip install bounded-subprocess
License
bounded-subprocess
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bounded_subprocess-1.1.0.tar.gz
.
File metadata
- Download URL: bounded_subprocess-1.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f5f385497f453bafc6e70d1476b9ae7ac9ab60df1f1f0d012a0c483173011f |
|
MD5 | ddad9c3aecdcb085d3c69d92bd5d61e7 |
|
BLAKE2b-256 | e2e7bc3d8ce31f33f4129066908a9b7d7787f08cbb736730d0d4d9ea57353bc9 |
File details
Details for the file bounded_subprocess-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: bounded_subprocess-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0adb65fccd48824cf6cf7f4ffadb04161c9c76f3cabc05b72669d88a7e2e1a73 |
|
MD5 | a15cce08e9808b11df7681611c09b462 |
|
BLAKE2b-256 | 50708665b0028aee2d80d0618944b0c58c5ed9360467d978df51494e27059a6b |