MCPcopy
hub / github.com/budtmo/docker-android / start

Method start

cli/src/application/__init__.py:24–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self.ui = ui
23
24 def start(self) -> None:
25 if self.ui:
26 self.logger.info(f"{self.name} will be started with ui!")
27 subprocess.check_call(f"/usr/bin/xterm -T {self.name} -n {self.name} "
28 f"-e '{self.command} {self.additional_args}'", shell=True)
29 else:
30 self.logger.info(f"{self.name} will be started without ui!")
31 subprocess.check_call(f"{self.command} {self.additional_args}", shell=True)
32
33 def __repr__(self) -> str:
34 return "Application(name={n}, command={c}, args={args}, ui={ui})".format(

Callers 6

start_appiumFunction · 0.95
start_display_screenFunction · 0.95
start_display_wmFunction · 0.95
start_port_forwarderFunction · 0.95
start_vnc_serverFunction · 0.95
start_vnc_webFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected