rust-parallel

Run commands in parallel using Rust's async Tokio framework

brewmacoslinux
Try with needOr install directly
Source

About

Run commands in parallel with Rust's Tokio framework

Commands

rust-parallel

Examples

Run multiple commands in parallel with 4 concurrent tasks$ rust-parallel -j 4 -- 'sleep 1; echo task1' 'sleep 2; echo task2' 'sleep 1; echo task3'
Execute commands from stdin in parallel$ cat commands.txt | rust-parallel
Run parallel jobs with input substitution$ echo -e 'file1.txt\nfile2.txt\nfile3.txt' | rust-parallel -j 2 'process_file {}'