Setting an environment variable does not work when value contains a dollar sign $ #10126
Labels
source::community
catch-all for issues filed by community members
stale::recovered
[bot] recovered after being marked as stale
Current Behavior
When setting an environment variable that contains a dollar sign
$
usingconda env config vars set MYVAR='some$value'
(tested on Windows PowerShell) then:conda env config vars list
actually works and shows the correct contentSee the demo below.
Steps to Reproduce
Expected Behavior
The script responsible for setting the environment variables should escape the values contained properly to not conflict with special shell characters.
Environment Information
`conda info`
`conda config --show-sources`
`conda list --show-channel-urls`
The text was updated successfully, but these errors were encountered: