platformio/platformio-core

Spaces in Windows User name not supported in Inspect

Open

#5.180 geöffnet am 19. Juni 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Python (791 Forks)batch import
help wantedstatic analysis

Repository-Metriken

Stars
 (7.329 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

When I run INSPECT on workspace with a path containing spaces (in my case my username), it's truncated and results in two warnings.

Error: Checking lpc1768 > cppcheck (platform: nxplpc; board: lpc1768; framework: mbed)
--------------------------------------------------------------------------------
Warning: Failed to extract toolchain defines!

'C:\Users\Wim' is not recognized as an internal or external command,
operable program or batch file.

Warning: Failed to extract toolchain defines!

'C:\Users\Wim' is not recognized as an internal or external command,
operable program or batch file.

The rest of the output after these lines are correctly handling the spaces in the path.

Contributor Guide