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

Method open_process

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

Source from the content-addressed store, hash-verified

1700 return cmd, stdout, stderr
1701
1702 def open_process(
1703 self,
1704 args=None, # type: Optional[Iterable[str]]
1705 pythonpath=None, # type: Optional[Iterable[str]]
1706 env=None, # type: Optional[Mapping[str, str]]
1707 **kwargs # type: Any
1708 ):
1709 # type: (...) -> Tuple[Iterable[str], subprocess.Popen]
1710 cmd, env = self.create_isolated_cmd(args=args, pythonpath=pythonpath, env=env)
1711 process = Executor.open_process(cmd, env=env, **kwargs)
1712 return cmd, process
1713
1714 def __hash__(self):
1715 return hash(self._binary)

Callers 1

Calls 1

create_isolated_cmdMethod · 0.95

Tested by

no test coverage detected