Forum Moderators: bakedjake
My question: Is there a way to cause the main script to wait on the spawned processes to complete before it moves to the next step or completion?
script1
loop
exec("/blah/blah/script2.cgi arg* >/dev/null &");
end loop
code to run after spawned processes have completed
.
.
.
end script1