Launch a process inside a task's container.
(self, argv)
| 84 | |
| 85 | |
| 86 | def exec(self, argv): |
| 87 | """ |
| 88 | Launch a process inside a task's container. |
| 89 | """ |
| 90 | try: |
| 91 | master = self.config.master() |
| 92 | except Exception as exception: |
| 93 | raise CLIException("Unable to get leading master address: {error}" |
| 94 | .format(error=exception)) |
| 95 | |
| 96 | task_io = TaskIO(master, argv["<task-id>"]) |
| 97 | return task_io.exec(argv["<command>"], |
| 98 | argv["<args>"], |
| 99 | argv["--interactive"], |
| 100 | argv["--tty"]) |
| 101 | |
| 102 | def list(self, argv): |
| 103 | """ |
nothing calls this directly
no test coverage detected