(self, result)
| 314 | fp.write(message.encode()) |
| 315 | |
| 316 | def log_result(self, result): |
| 317 | if result == 0: |
| 318 | log("OK") |
| 319 | else: |
| 320 | log("Exit code %d" % result) |
| 321 | |
| 322 | def run(self, task): |
| 323 | """Run a task with a file descriptor corresponding to its log file""" |