You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variable works if you set it to be type shell and the default shell is pwsh and not git bash. But if set to type process it results in a path like:
/c:/Users/myuser/myfolder/my.exe
With an error like: "The terminal process could not be started: The path to the executable shell file "\c:\Users\myuser\myfolder\my.exe" does not exist.
NOTE: The task does work if I use ${env:USERPROFILE} instead of ${userHome}, as env:USERPROFILE results in a path like C:\Users\myuser/myfolder/my.exe to be executed.
The text was updated successfully, but these errors were encountered:
'/Users/yoshifumi/personal/foo_workspace/$$personal$vscodemacros$macros.js' not found.```
${userHome} should be recognized as /Users/yoshifumi but it was treated as /Users/yoshifumi/personal/foo_workspace/ which is the directory name that I was opening in VS Code.
I face a similar issue on Windows where userHome does not always resolve to env:USERPROFILE.
See: raspberrypi/pico-vscode#100
Though I guess I should open another ticket really.
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
With an error like: "The terminal process could not be started: The path to the executable shell file "\c:\Users\myuser\myfolder\my.exe" does not exist.
NOTE: The task does work if I use
${env:USERPROFILE}
instead of${userHome}
, as env:USERPROFILE results in a path likeC:\Users\myuser/myfolder/my.exe
to be executed.The text was updated successfully, but these errors were encountered: