MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / x11_stop_server

Function x11_stop_server

Scripts/Developer Base/Mobile Desktop.py:1025–1027  ·  view source on GitHub ↗
(cfg: Dict)

Source from the content-addressed store, hash-verified

1023# Termux:X11 helpers
1024# ----------------------------
1025def x11_stop_server(cfg: Dict) -> None:
1026 run(["pkill", "-f", "termux-x11"], check=False)
1027 print(tr(cfg, "x11_stopped"))
1028
1029def x11_start_server(cfg: Dict) -> bool:
1030 if shutil.which("termux-x11") is None:

Callers 1

action_x11Function · 0.70

Calls 3

printFunction · 0.85
runFunction · 0.70
trFunction · 0.70

Tested by

no test coverage detected