Skip to main content

runs a subprocess with several bounds

Project description

bounded_subprocess

PyPI - Version PyPI - Python Version

The bounded-subprocess module runs a subprocess with several bounds:

  1. The subprocess runs in a Linux session, so the process and all its children can be killed;
  2. The subprocess runs with a given timeout; and
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bounded_subprocess-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bounded_subprocess-1.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file bounded_subprocess-1.0.1.tar.gz.

File metadata

  • Download URL: bounded_subprocess-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for bounded_subprocess-1.0.1.tar.gz
Algorithm Hash digest
SHA256 077108039406b127f5560ece248903ba9c865f45838a9a8f2e9775fe203530d1
MD5 fa5816360b96ea6ffa276da5b7e5c2f8
BLAKE2b-256 fd68b48c6155d627733abdf4a9a5f656be1173531bc0969c638d13e17a7e1cd7

See more details on using hashes here.

File details

Details for the file bounded_subprocess-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bounded_subprocess-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 766f96485581a6c3d75ade9dfb84c19a6dc76a587c3878f330d2180016fa9a4e
MD5 2f5088c4f08053a26315c4683c0c431c
BLAKE2b-256 76cbaeb8df4c4151b36b2c8fc7044f5e9fa1833f5eb355b77bb3ccc425c8e4c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page