Open
Description
Describe the problem
Upload fails if the upload command contains a space character in the command name:
C:\Users\Some Name\Documents\Arduino\PoxA880>\stuff\ArduinoCli\arduino-cli upload -v
"C:\Users\Some Name\AppData\Local\Arduino15\packages\STM32\tools\STM32Tools\1.4.0/tools/win/stm32CubeProg.bat" 0 "C:\Users\Some Name\Documents\Arduino\PoxA880\build\STM32.stm32.GenF1/PoxA880.ino.bin" -g
'C:\Users\Some' is not recognized as an internal or external command,
operable program or batch file.
Error during Upload: uploading error: uploading error: exit status 1
Upload process fails with the complaint that a command named 'C:\Users\Some
' does not exist.
It appears that the command is presumed to end at the first space character, when in actuality it continues with more stuff after the space (see full command above: "Some
" is first half of the folder name "Some Name
")
Expected behavior
Upload starts irrespective of whether path contains a space.
It may still fail for reasons unrelated, though, but that's not the point.
Arduino CLI version
0.13.0
Operating system
Windows
Operating system version
10, (OS Build 19041.508)
Additional context
Additional reports: