Skip to content

Commit 1fa9db5

Browse files
committed
fix(tools): IDF_PATH_OLD not found in PowerShell
Closes espressif#15396
1 parent bcb3c32 commit 1fa9db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/activate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def die(msg: str) -> None:
4343
f'proceeding.'))
4444

4545
try:
46-
run([virtualenv_python, os.path.join(idf_path, 'tools', 'export_utils', 'activate_venv.py')] + sys.argv[1:], check=True)
46+
run([virtualenv_python, os.path.join(idf_path, 'tools', 'export_utils', 'activate_venv.py')] + sys.argv[1:], check=True, env=os.environ.copy())
4747
except (OSError, SubprocessError):
4848
die('\n'.join(['Activation script failed',
4949
'To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.']))

0 commit comments

Comments
 (0)