(binary)
| 791 | |
| 792 | @staticmethod |
| 793 | def execute_external(binary): |
| 794 | # type: (str) -> Any |
| 795 | args = [binary] + sys.argv[1:] |
| 796 | try: |
| 797 | return Executor.open_process(args).wait() |
| 798 | except Executor.ExecutionError as e: |
| 799 | return "Could not invoke script {}: {}".format(binary, e) |
| 800 | |
| 801 | @classmethod |
| 802 | def execute_content( |
no test coverage detected