I have a bash script, where several other programes are started with nohup (all have the same executable, but different parameters), e.g.:

nohup ./code --p0 &nohup ./code --p1 &nohup ./code --p2 &Is it possible to write a while loop after the nohups calls, which terminates when all the ./code runs are finished?


Check Solution