https://github.com/soanvig/runmany
Easily run multiple long-running commands in parallel.
https://github.com/soanvig/runmany
cli command many process
Last synced: about 1 year ago
JSON representation
Easily run multiple long-running commands in parallel.
- Host: GitHub
- URL: https://github.com/soanvig/runmany
- Owner: soanvig
- Created: 2024-10-19T16:21:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-03T02:09:46.000Z (over 1 year ago)
- Last Synced: 2025-05-12T03:54:50.059Z (about 1 year ago)
- Topics: cli, command, many, process
- Language: Rust
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# runmany
Easily run multiple long-running commands in parallel.
No more spawning processes in shell's background (`&`) or starting multiple terminals just to run few commands.
## Usage
```sh
# No troubling control characters like ""
# Just use double colon to separate all commands
> runmany :: npm watch :: npm serve
# You can run more commands
> runmany :: npm watch :: npm serve :: npm test:watch
# See options
> runmany -h
```
Now `runmany` will run all commands in parallel, and exit when all exit.
## Installation
Runmany is currently available only for Linux.
If you already have a Rust environment set up, you can use the cargo install command:
```sh
> cargo install runmany
```
## Notes
1. Command's `stderr` is printed to `stdout` ([issue](https://github.com/soanvig/runmany/issues/10))
2. Command's are run directly in the system ([issue](https://github.com/soanvig/runmany/issues/2))