To run a script as a background task or thread,
use the & Symbol.
for example,
mad.sh
while [ 1 ]
do
echo "MAD"
done
try as
Embed.sh
sh mad.sh &
Now run the script, Embed.sh
You wont the see the echo statement's output
No comments:
Post a Comment