2014-01-16 51 views

回答

1

你似乎在尋找wait

nohup ./code --p0 & 
nohup ./code --p1 & 
nohup ./code --p2 & 
wait # This would wait for all currently active child processes 
echo "This statement would be printed after all nohup calls are finished executing"