Skip to content

Refactor python command variable for better cross-platform compatibility#2

Open
swastim01 wants to merge 1 commit intoouterbounds:mainfrom
swastim01:add-python-command
Open

Refactor python command variable for better cross-platform compatibility#2
swastim01 wants to merge 1 commit intoouterbounds:mainfrom
swastim01:add-python-command

Conversation

@swastim01
Copy link
Copy Markdown

Hi! While testing the extension on WSL, I noticed that many environments expose python3 instead of python, which makes the command harder to adapt without modifying multiple lines.

This PR introduces a small refactor by extracting the Python command into a single pythonCmd variable. There is no behavior change, the goal is simply to make future cross-platform adjustments easier while keeping the current workflow intact.

Happy to adjust if there’s a preferred direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant