Waits until the given `pid` does not represent any process anymore.
(pid: int)
| 104 | |
| 105 | |
| 106 | def wait_for_pid_exit(pid: int): |
| 107 | """ |
| 108 | Waits until the given `pid` does not represent any process anymore. |
| 109 | """ |
| 110 | wait_until(lambda: not psutil.pid_exists(pid)) |
| 111 | |
| 112 | |
| 113 | def wait_for_job_list_count(env, count: int): |