wait for processes first

This commit is contained in:
Heavybullets8 2022-07-25 16:05:37 -06:00
parent 8f3b9e9922
commit 017edabaf0

View File

@ -21,15 +21,17 @@ do
fi
done
for proc in "${processes[@]}"
do
wait "$proc"
done
for i in "${output[@]}"
do
echo "$i"
done
for proc in "${processes[@]}"
do
wait "$proc"
done