DavesCodeMusings / mpremote-vscode

Visual Studio Code extension for mpremote Python module
BSD 2-Clause "Simplified" License
10 stars 1 forks source link

Change the way mpremote is called #20

Closed DavesCodeMusings closed 7 months ago

DavesCodeMusings commented 7 months ago

Currently, the extension uses either py.exe -m mpremote (Windows) or python3 -m mpremote (Linux and Mac) to run commands. Though Linux systems install mpremote as a stand-alone package invoked at the shell prompt as mpremote. As such, mpremote should be used in place of python3 -m mpremote on Linux.

Awaiting input from a Mac user to confirm mpremote works stand-alone or has to be called as python3 -m mpremote

NodeJS (VS Code extension) classifies OS in variable process.platform like so:

Suggestion by @Gogin79