Quantumbraid's picture
|
download
raw
1.14 kB

Output Control

concurrently offers a few ways to control a command's output.

Hiding

A command's outputs (and all its events) can be hidden by using the --hide flag.

$ concurrently --hide 0 "echo Hello there" "echo 'General Kenobi!'"
[1] General Kenobi!
[1] echo 'General Kenobi!' exited with code 0

Grouping

It might be useful at times to make sure that the commands outputs are grouped together, while running them in parallel.
This can be done with the --group flag.

$ concurrently --group "echo Hello there && sleep 2 && echo 'General Kenobi!'" "echo hi Star Wars fans"
[0] Hello there
[0] General Kenobi!
[0] echo Hello there && sleep 2 && echo 'General Kenobi!' exited with code 0
[1] hi Star Wars fans
[1] echo hi Star Wars fans exited with code 0

No Colors

When piping concurrently's outputs to another command or file, you might want to force it to not use colors, as these can break the other command's parsing, or reduce the legibility of the output in non-terminal environments.

$ concurrently -c red,blue --no-color "echo Hello there" "echo 'General Kenobi!'"

Xet Storage Details

Size:
1.14 kB
·
Xet hash:
451ac76282ffa8198445bbc2277911c818aa3f9c47b291287ac4ececb61612c2

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.