To wait till the shell has executed:

Printable View