runs a subprocess with several bounds
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
Close
Hashes for bounded_subprocess-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766f96485581a6c3d75ade9dfb84c19a6dc76a587c3878f330d2180016fa9a4e |
|
MD5 | 2f5088c4f08053a26315c4683c0c431c |
|
BLAKE2b-256 | 76cbaeb8df4c4151b36b2c8fc7044f5e9fa1833f5eb355b77bb3ccc425c8e4c1 |