Returns the exit status of the process if the processes has completed, returns None otherwise.
(self)
| 154 | self.stderr = channel.makefile_stderr("rb") |
| 155 | |
| 156 | def poll(self): |
| 157 | """Returns the exit status of the process if the processes has completed, returns |
| 158 | None otherwise. |
| 159 | """ |
| 160 | if self.channel.exit_status_ready(): |
| 161 | return self.channel.recv_exit_status() |
| 162 | |
| 163 | def wait(self): |
| 164 | """Wait for the process to complete.""" |
no outgoing calls