start process and wait