Skip to main content

default_python_command

Function default_python_command 

Source
pub fn default_python_command() -> &'static str
Expand description

Platform-native default name for the Python interpreter when spawning a sidecar launcher. On Windows there is no python3 executable — installs from python.org expose python.exe (or py.exe), so hardcoding python3 causes “program not found” at spawn time. On Unix python3 remains the convention.