shell - How wait the end of N process in ksh and after run another process? -
i want run 3 process @ same time , when 3 process finished want run process.
for example:
./script1.sh & ./script2.sh &
wait script1 , script2 finished , after run ./script3
thanks help
man ksh
wait [ job ... ] wait specified job , report termination status. if job not given, active child processes waited for.
so, e. g.
./script1.sh& ./script2.sh& ./script3.sh wait ./script4.sh
will long there no other active child process.
Comments
Post a Comment