MCPcopy Index your code
hub / github.com/pex-tool/pex / execute

Method execute

pex/interpreter.py:1689–1700  ·  view source on GitHub ↗
(
        self,
        args=None,  # type: Optional[Iterable[str]]
        stdin_payload=None,  # type: Optional[AnyStr]
        pythonpath=None,  # type: Optional[Iterable[str]]
        env=None,  # type: Optional[Mapping[str, str]]
        **kwargs  # type: Any
    )

Source from the content-addressed store, hash-verified

1687 )
1688
1689 def execute(
1690 self,
1691 args=None, # type: Optional[Iterable[str]]
1692 stdin_payload=None, # type: Optional[AnyStr]
1693 pythonpath=None, # type: Optional[Iterable[str]]
1694 env=None, # type: Optional[Mapping[str, str]]
1695 **kwargs # type: Any
1696 ):
1697 # type: (...) -> Tuple[Iterable[str], str, str]
1698 cmd, env = self.create_isolated_cmd(args=args, pythonpath=pythonpath, env=env)
1699 stdout, stderr = Executor.execute(cmd, stdin_payload=stdin_payload, env=env, **kwargs)
1700 return cmd, stdout, stderr
1701
1702 def open_process(
1703 self,

Callers

nothing calls this directly

Calls 1

create_isolated_cmdMethod · 0.95

Tested by

no test coverage detected