My shell script stops after exec

后端 未结 3 1831
栀梦
栀梦 2020-11-30 12:54

I\'m writing a shell script that looks like this:

 for i in $ACTIONS_DIR/*
    do
            if [ -x $i ]; then
                    exec $i nap
                     


        
3条回答
提交回复
热议问题