wait for processes first
This commit is contained in:
parent
8f3b9e9922
commit
017edabaf0
@ -21,15 +21,17 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for proc in "${processes[@]}"
|
||||||
|
do
|
||||||
|
wait "$proc"
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
for i in "${output[@]}"
|
for i in "${output[@]}"
|
||||||
do
|
do
|
||||||
echo "$i"
|
echo "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
for proc in "${processes[@]}"
|
|
||||||
do
|
|
||||||
wait "$proc"
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user