2 releases

0.1.1 Apr 17, 2020
0.1.0 Mar 18, 2020

#12 in #orchestrator

GPL-3.0+

9KB
243 lines

orq is a tiny command-line process orchestrator.

orq runs multiple commands in parallel and interleaves & tags all their output, so you can easily see in what order outputs happen. For instance, you may want to run a web server alongside a database or run two batch jobs in parallel.

Usage

orq reads a list of commands separated by newlines from standard input.

For example, we may run two servers in parallel:

$ orq
python -m http.server
node index.js
node index.js       | Example app listening on port 3000!
python -m http.serv…| Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...

You can also pipe in commands:

$ echo "echo foo\necho bar" | orq
echo foo            | foo
echo bar            | bar
echo bar exited with status 0
echo foo exited with status 0

Dependencies

~4–12MB
~106K SLoC