You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use gnu parallel, it has one great feature of running tasks in parallel, but grouping all of the output for a each command and printing it when that command finishes. Is there a way to do this with concurrently? If not, it would be a great feature 😃
Given these files
# script-one.sh
sleep 1
echo first
# script-two.shecho second
sleep 2
echo third
Using GNU parallel
$ parallel bash ::: script-one.sh script-two.sh
first
second
third
Using concurrently
$ concurrently "bash script-one.sh""bash script-two.sh"
[1] second
[0] first
[0] bash script-one.sh exited with code 0
[1] third
[1] bash script-two.sh exited with code 0
The text was updated successfully, but these errors were encountered:
This seems pretty fundamental to me. It's a big pain point to run tasks concurrently if the output can't be aggregated and instead you get hundreds or thousands of garbled output lines that you need to piece together to make sense of.
If you use gnu parallel, it has one great feature of running tasks in parallel, but grouping all of the output for a each command and printing it when that command finishes. Is there a way to do this with
concurrently
? If not, it would be a great feature 😃Given these files
Using GNU parallel
Using concurrently
The text was updated successfully, but these errors were encountered: