Closed erikdelange closed 1 year ago
I'll take a look at adding quotes. Thanks for posting the issue with a proposed solution.
Added single quotes around paths used with the run and copy commands to allow for spaces. Tested okay on my Windows installation. Pushed changes to GitHub and published to VSCode Marketplace.
@erikdelange Please test when you have time and let me know if it works for you.
Tested and it works perfectly. Thank you for fixing this so quickly.
Situation: Filename in the active editor is c:\Directory with a space\hello.py
Executing command MPRemote: Run File Shown in the Active Editor (run) will fail with the following output:
Problem is that the filename is truncated at the first space. When manually adding quotes around the file argument and rerunning the command it does work.
Using: