Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not leak env vars from bat scripts in cmd.exe #1205

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Apr 16, 2024

This fixes #1200

With this change, for cmd.exe / bat scripts we now wrap the script with:

@echo off
setlocal
... script contents
endlocal

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@ruben-arts ruben-arts enabled auto-merge (squash) April 16, 2024 09:46
@ruben-arts ruben-arts merged commit 280f5cb into prefix-dev:main Apr 16, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: pixi keeps adding global package to %PATH% until it's too long
2 participants