Metadata-Version: 2.4
Name: bounded_subprocess
Version: 1.3.0
Summary: A small example package
Author: Arjun Guha, Ming-Ho Yee, Francesca Lucchetti
Project-URL: Homepage, https://github.com/nuprl/bounded_subprocess
Project-URL: Bug Tracker, https://github.com/nuprl/bounded_subprocess
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: typeguard<5.0.0,>=4.4.2
Dynamic: license-file

# bounded_subprocess

[![PyPI - Version](https://img.shields.io/pypi/v/bounded-subprocess.svg)](https://pypi.org/project/bounded-subprocess)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bounded-subprocess.svg)](https://pypi.org/project/bounded-subprocess)

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

```console
python3 -m pip install bounded-subprocess
```

## License

`bounded-subprocess` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
