All docs
Runtime·
property
Runtime.executable
the preferred entry point to run — the CLI if present, else the GUI
Python
executable -> Optional[Path]
Returns Path | None — cli if present, else gui (or None if neither)
Example#
Python
rt = find_runtime()
if rt:
print(rt.executable) # cli if present, else gui
Notes#
Read-only property. Returns cli when the console client is present, otherwise
gui; None only if neither launcher was found. Use it when you just want
"the thing to run" and don't care which of the two it is.
See also#
API: cli · gui · find_runtime
Guides: CLI commands
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown