multi

Crates.iomulti
lib.rsmulti
version0.1.1
sourcesrc
created_at2022-12-18 05:39:12.314252
updated_at2022-12-18 23:28:31.568507
descriptionAn easy way to run multiple commands in parallel
homepage
repository
max_upload_size
id740254
size19,500
Andrew Gazelka (andrewgazelka)

documentation

README

multi

Making parallel bash commands elegant ✨.

Suppose we want to run the two commands

run_unit_tests
run_integration_tests

We can instead re-write this as

multi -c "run_unit_tests" -c "run_integration_tests"

To the end-user, nothing will occur differenly. However, the commands are actually executed in parallel. The order of the stdout and stderr of the commands are preserved and an error in one command will stop other commands. This is similar to the principal of Structured Concurrency.

Commit count: 0

cargo fmt