()
| 97 | """Wait for process to finish""" |
| 98 | |
| 99 | def process(): |
| 100 | try: |
| 101 | os.kill(pid, 0) |
| 102 | except OSError: |
| 103 | # Process is dead |
| 104 | return True |
| 105 | else: |
| 106 | # Process is still ticking |
| 107 | return None |
| 108 | |
| 109 | return wait_condition(process, timeout) |
| 110 |
nothing calls this directly
no outgoing calls
no test coverage detected