Does bash wait for command to finish?

Linh Chi

New member
Does bash wait for command to finish?
Answer
The bash WAIT command is used to halt the execution of a script until all background jobs or specified JobID/PIDs terminate successfully and return an expected exit code to trigger the next command that was “waited for.”
 

Tìm kiếm

Back
Top