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

Method run

archinstall/tui/components.py:1330–1341  ·  view source on GitHub ↗
(self, main: InstanceRunnable[ValueT] | Callable[[], Awaitable[ValueT]])

Source from the content-addressed store, hash-verified

1328 app: _AppInstance[Any] | None = None
1329
1330 def run(self, main: InstanceRunnable[ValueT] | Callable[[], Awaitable[ValueT]]) -> ValueT:
1331 TApp.app = _AppInstance(main)
1332 result: ValueT | Exception | None = TApp.app.run()
1333
1334 if isinstance(result, Exception):
1335 raise result
1336
1337 if result is None:
1338 debug('App returned no result, assuming exit')
1339 sys.exit(0)
1340
1341 return result
1342
1343 def exit(self, result: Any) -> None:
1344 assert TApp.app

Callers 15

qemu.pyFile · 0.45
_check_onlineFunction · 0.45
_fetch_arch_dbFunction · 0.45
_share_log_commandFunction · 0.45
_run_workerMethod · 0.45
show_menuFunction · 0.45
mainFunction · 0.45
show_menuFunction · 0.45
perform_installationFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
minimal.pyFile · 0.45

Calls 3

debugFunction · 0.90
_AppInstanceClass · 0.85
exitMethod · 0.80

Tested by

no test coverage detected