Wednesday, 12 January 2022

How to run spawn using a bash script?

/data/build/main1.sh &
P1=$!
/data/build/main2.sh &
P2=$!
wait $P1 $P2

No comments:

Post a Comment