platformio/platformio-core

Spaces in Windows User name not supported in Inspect

Ouverte

#5 180 ouverte le 19 juin 2025

 (1 commentaire) (0 réaction) (1 personne assignée)Python (791 forks)batch import
help wantedstatic analysis

Métriques du dépôt

Stars
 (7 329 étoiles)
Métriques de merge PR
 (Merge moyen 109j 16h) (5 PRs mergées en 30 j)

Description

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.

Guide contributeur