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

Method execute_module

pex/pex.py:840–846  ·  view source on GitHub ↗
(self, module_name)

Source from the content-addressed store, hash-verified

838 return self.execute_module(entry_point.module)
839
840 def execute_module(self, module_name):
841 # type: (str) -> Any
842 bootstrap.demote()
843
844 import runpy
845
846 return Globals(runpy.run_module(module_name, run_name="__main__", alter_sys=True))
847
848 @classmethod
849 def execute_entry_point(cls, entry_point):

Callers 2

execute_interpreterMethod · 0.95
execute_entryMethod · 0.95

Calls 2

GlobalsClass · 0.90
demoteMethod · 0.80

Tested by

no test coverage detected