wait-for-process: add little script to wait for a running process to exit

Signed-off-by: Christopher Larson <kergoth@gmail.com>