dwait
Blocks command input until the target processes stop
Format:
dwait
Description:
The dwait command tells the CLI to wait for all threads in the current focus to stop or exit. Generally, this command treats the focus identically to other CLI commands.
If you interrupt this command--typically by typing Ctrl-C--the CLI manually stops all processes in the current focus before it returns.
Unlike most other CLI commands, this command blocks additional CLI input until the blocking action is complete.
Examples:
dwait
Blocks further command input until all processes in the current focus have stopped (that is, none of their threads are still running).
dfocus {p1 p2} dwait
Blocks command input until processes 1 and 2 stop.