mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
Merge branch 'fix/env_var_idf_path_old_not_set_in_ps1_v5.4' into 'release/v5.4'
fix(tools): IDF_PATH_OLD not found in PowerShell (v5.4) See merge request espressif/esp-idf!37076
This commit is contained in:
commit
e9285cc50c
@ -43,7 +43,7 @@ if not os.path.exists(virtualenv_python):
|
||||
f'proceeding.'))
|
||||
|
||||
try:
|
||||
run([virtualenv_python, os.path.join(idf_path, 'tools', 'export_utils', 'activate_venv.py')] + sys.argv[1:], check=True)
|
||||
except (OSError, SubprocessError):
|
||||
die('\n'.join(['Activation script failed',
|
||||
run([virtualenv_python, os.path.join(idf_path, 'tools', 'export_utils', 'activate_venv.py')] + sys.argv[1:], check=True, env=os.environ.copy())
|
||||
except (OSError, SubprocessError) as e:
|
||||
die('\n'.join(['Activation script failed', str(e),
|
||||
'To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user