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:
darwin = Mac mpremote
linux = Linux mpremote
win32 = Windows, both 32 and 64-bit py.exe -m mpremote
Currently, the extension uses either
py.exe -m mpremote
(Windows) orpython3 -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 ofpython3 -m mpremote
on Linux.Awaiting input from a Mac user to confirm
mpremote
works stand-alone or has to be called aspython3 -m mpremote
NodeJS (VS Code extension) classifies OS in variable process.platform like so:
mpremote
mpremote
py.exe -m mpremote
Suggestion by @Gogin79