All docs
Runtime·
property
Runtime.cli
path to LSDCli.exe, the console client for running packages headlessly, or None
Python
cli: Optional[Path]
Returns Path | None — the LSDCli.exe path, or None if not present
Example#
Python
rt = find_runtime()
print(rt.cli) # → C:\Program Files\LSD Desktop\LSDCli.exe
Run a package headlessly through it:
Python
import subprocess
subprocess.run([str(rt.cli), "run", "project.lsd"])
Notes#
LSDCli.exe is the headless console client — the preferred entry point for tools and scripts that run
packages without a GUI. None when the file isn't found in the install. Use
executable to fall back to the GUI launcher automatically.
See also#
API: gui · executable · python
Guides: CLI commands
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown