Hi,
If for example i have 2 custom bash scripts, the first bash script is for example:
Code:
#!/bin/bash
echo start
script2
script3
echo finished
and say, script2 is the following:
Code:
#!/bin/bash
a=1
while [ "$a" == "1" ]; do
code here
if [ "$x" == "$y" ]; then
a=2
else
sleep 60
fi
done
if i run the first script, it may take quite sometime for script2 to come to completion, and thus as a result script3 will not be executed for sometime (as i have to wait for script2 to finish first).
What i am wanting to do, is somehow execute script2 , without having to wait it to finish before script1 can continue and script3 can execute
Any assistance would be greatly appreciated.
Thankyou