MCPcopy
hub / github.com/pex-tool/pex / execute_external

Method execute_external

pex/pex.py:793–799  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

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(

Callers 1

execute_scriptMethod · 0.95

Calls 2

waitMethod · 0.45
open_processMethod · 0.45

Tested by

no test coverage detected