(self)
| 195 | return self._process.wait() |
| 196 | |
| 197 | def finish(self): |
| 198 | retcode = self.wait() |
| 199 | |
| 200 | if self.stdout is not None: |
| 201 | self.stdout.close() |
| 202 | |
| 203 | if retcode != 0: |
| 204 | raise UserCritical( |
| 205 | msg='pipeline process did not exit gracefully', |
| 206 | detail='"{0}" had terminated with the exit status {1}.' |
| 207 | .format(" ".join(self._command), retcode)) |
| 208 | |
| 209 | |
| 210 | class PipeViewerRateLimitFilter(PipelineCommand): |