#command-line #process #executor #parallelization #parallel-processing #echo #world

app parallely

parallely is a command line process parallelization executor

6 releases

new 0.2.0 Oct 6, 2024
0.1.5 Oct 1, 2024
0.1.4 Sep 30, 2024

#60 in Concurrency

Download history 65/week @ 2024-09-21 536/week @ 2024-09-28 151/week @ 2024-10-05

752 downloads per month

Apache-2.0

425KB
982 lines

parallely

parallely is a command line process parallelization executor.

preview

preview

install

cargo install parallely

usage

parallely --help

parallely is a command line process parallelization executor.

Usage: parallely [OPTIONS] <COMMANDS>...

Arguments:
  <COMMANDS>...  The commands to run in parallel. e.g. `parallely "echo hello" "echo world"`

Options:
      --eoc      Exit on all sub-processes complete
  -d, --debug    Write log into $(PWD)/logs
  -h, --help     Print help
  -V, --version  Print version

parallely "echo hello" "echo world"

no-exit on all sub-processes complete

parallely "echo hello" "echo world" --eoc

exit on all sub-processes complete

parallely "echo hello" "echo world" --debug

write log into $(PWD)/logs

limitation

  • parallely will not process the standard input for a single command for you, but only forward the stdout/stderr of the child process to the output block.
  • parallely can handle standard ansi-color output, but cannot support complete tty commands, such as clear and move cursor. Therefore, you cannot get the best experience for processes such as top and vim. Please try tmux/screen.
  • parallely is more suitable for non-interactive pure output scenarios.

Dependencies

~21–35MB
~528K SLoC