Crates.io | parallelrun |
lib.rs | parallelrun |
version | 0.3.2 |
source | src |
created_at | 2024-09-14 13:06:08.527168 |
updated_at | 2024-10-04 09:18:38.355964 |
description | Runs several commands concurrently |
homepage | https://github.com/rustunit/parallelrun |
repository | https://github.com/rustunit/parallelrun |
max_upload_size | |
id | 1374754 |
size | 59,649 |
Runs several commands concurrently.
Heavily inspired by the nodejs
tool concurrently.
Supported and tested on Linux, MacOS and Windows.
Supported Options:
--kill-others
(terminates all other commands as soon as one exits)cargo install parallelrun
$ parallelrun --kill-others "echo wait 2 && sleep 2" "echo wait 3 && sleep 3"
[0] wait 2
[1] wait 3
[0] echo wait 2 && sleep 2 exited with code 0
--> Sending SIGTERM to other processes..
[1] echo wait 3 && sleep 3 exited with code SIGTERM
concurrently
arguments