9 releases
| 0.2.2 | Feb 11, 2025 |
|---|---|
| 0.2.1 | Feb 11, 2025 |
| 0.1.4 | Dec 7, 2024 |
| 0.1.2 | Nov 26, 2024 |
| 0.0.0 | Nov 15, 2024 |
#37 in #child-process
669 downloads per month
545KB
673 lines
bobr

bobr is a simple command multiplexer, particularly useful for executing multiple commands in parallel. It supports both short-lived task execution and long-lived process management, such as running a backend and frontend simultaneously and managing their lifecycle together.

How to use
bobr executes all specified commands as child processes in parallel.
bobr -c "sleep 5" -c "sleep 10" -c "sleep 2 && exit 1"Execute multiple commands in parallel as specified via the command line.bobr -c "sleep 5" -f ./tasks.shCommands can also be loaded from a file for convenience.bobr -e --stdout=json -f ./tasks.shThis command propagates the stdout pipe from child tasks into thebobrstdout pipe, allowing output in JSON format.
Dependencies
~8–23MB
~302K SLoC