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.0.0.tar.gz
(3.6 kB
view hashes)