i try to run the below command at the same time but only first one can run but second one get blocked by same process id.sh ./controller.sh $myfile/a.sh start '1' 'today'sh ./controller.sh $myfile/a.sh start '2' 'early'controller.shprogpath=$1prog=$(basename $progpath)get_pid() {    echo `ps -ef | grep $prog | grep -v grep | grep -v $0 | awk '{print $2}'`}  local pids=$(get_pid)  if [ -n $pids ]; then    echo $prog (pid $pids) is already running!    return 0  fiHow can i run the 2 command successful by changing the controller.sh?
How to run same process with passing different parameter?
shell script