espressif / idf-env

idf-env tool helps set up and manage ESP-IDF installations
29 stars 4 forks source link

idf-env config get --property does not recognize IDF ID in case of path with spaces #27

Open georgik opened 2 years ago

georgik commented 2 years ago

How to simulate.

Register ESP-IDF with spaces in the path:

idf-env config  add --idf-path "C:/Users/User/Desktop/esp-idf - Copy/" --python "C:/Users/User/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe" --name "Copied IDF2" --idf-version "4.3"

Retrieve Python configuration:

idf-env config get --property python --idf-path "C:\Users\User\Desktop\esp-idf - Copy\"

Observed result:

null

Expected result:

C:/Users/User/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe