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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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