You can use
wait()
Or
process.wait(
wait()
Or
check_output
or check_call
which all wait for the return code depending on what you want to do and the version of python.time.sleep(0.5) proc.send_signal(signal.SIGUSR1) process.wait()