Check if process has terminated. Returns: Return code if terminated, None otherwise
(self)
| 376 | return self._proc.communicate(input=cast(Any, input), timeout=timeout) |
| 377 | |
| 378 | def poll(self) -> int | None: |
| 379 | """Check if process has terminated. |
| 380 | |
| 381 | Returns: |
| 382 | Return code if terminated, None otherwise |
| 383 | """ |
| 384 | return self._proc.poll() |
| 385 | |
| 386 | def terminate(self) -> None: |
| 387 | """Terminate the process.""" |
no outgoing calls