{代码}& 另开线程执行,可以利用外部文件进行线程间通信
#!/bin/bash
bLoop="Start"
echo $bLoop>/tmp/bRun.tmp
{
printf "\33[?25l"
sleep 1
while [ $bLoop == "Start" ]
{代码}& 另开线程执行,可以利用外部文件进行线程间通信
#!/bin/bash
bLoop="Start"
echo $bLoop>/tmp/bRun.tmp
{
printf "\33[?25l"
sleep 1
while [ $bLoop == "Start" ]