wait for processes first
This commit is contained in:
parent
8f3b9e9922
commit
017edabaf0
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user