-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Evironment variables not expanding in tasks #72029
Labels
Milestone
Comments
I can repro, thank you for providing clear repro steps/examples. |
alexr00
added
the
candidate
Issue identified as probable candidate for fixing in the next release
label
Apr 10, 2019
On Windows the path env variable is "Path" and not "PATH", right? |
Neither Path or PATH work now in tasks. Both used to work. |
Both "Path" or "PATH" work fine in a launch config on Windows:
|
Caused by 900d58b |
alexr00
added a commit
that referenced
this issue
Apr 10, 2019
This was referenced Apr 10, 2019
alexr00
added a commit
that referenced
this issue
Apr 11, 2019
@alexr00 please close if it's fixed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment variables (of the form
${env:name}
) are not expanding, or are expanding to the empty string, when occurring intasks.json
. This was working as of about a week ago, but didn't work today.Also tested in the Insiders build:
Steps to Reproduce:
.\.vscode\tasks.json
with the following contents:Tasks: Run Task
,echo path
); the output is:Write-Host ${env:PATH}
); the system path is printed.Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: