Skip to main content

A simple wrapper around `subprocess.Popen` to reduce the painfulness of running multiple processes concurrently.

Project description

Subtask

A simple wrapper around subprocess.Popen to reduce the painfulness of running multiple processes concurrently.

task = Subtask(['python', 'hello.py'])
task.wait()
assert task.read_stdout().strip() == "Hello, world!"

What is Subtask for?

Subtask makes it easy to keep track of many concurrent subprocesses. It makes it much easier to capture outputs and give inputs to these processes.

What is Subtask not for?

Subtask is designed for simplicity. It should not be used if you want high performance, or to chain outputs for many files together.

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

subtask-1.1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

subtask-1.1.0-py3-none-any.whl (4.5 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