MCPcopy Index your code
hub / github.com/archlinux/archinstall / run_command

Method run_command

archinstall/lib/installer.py:747–748  ·  view source on GitHub ↗
(self, cmd: str, peek_output: bool = False)

Source from the content-addressed store, hash-verified

745 raise ServiceException(f'Unable to disable service {service}: {err}')
746
747 def run_command(self, cmd: str, peek_output: bool = False) -> SysCommand:
748 return SysCommand(f'arch-chroot -S {self.target} {cmd}', peek_output=peek_output)
749
750 def arch_chroot(self, cmd: str, run_as: str | None = None, peek_output: bool = False) -> SysCommand:
751 if run_as:

Callers 1

arch_chrootMethod · 0.95

Calls 1

SysCommandClass · 0.90

Tested by

no test coverage detected