espressif / vscode-esp-idf-extension

Visual Studio Code extension for ESP-IDF projects
Apache License 2.0
1.04k stars 302 forks source link

Minor 'export not recognized...' error when starting monitor (VSC-184) #9

Closed Devenda closed 4 years ago

Devenda commented 4 years ago

Describe the bug Minor error when running monitor: export IDF_PATH=c:\Users\tinus\esp\esp-idf 'export' is not recognized as an internal or external command, operable program or batch file.

To Reproduce Start monitor, look at console output.

Expected behavior No error.

Environment (please complete the following information):

Additional context This seems to originate from this piece of code: afbeelding

However this line seems to be unnecessary as (at least on Windows) it does not seem to do anything as the monitor command afterward runs fine.

Thank you for providing this great extension!

brianignacio5 commented 4 years ago

We were trying to override system IDF_PATH with extension configured idf.espIdfPath (if defined) but windows set VAR=value got lost on merging. Will fix in v0.1.2

Thanks !