{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/28365","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/28365/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/28365/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/28365/events","html_url":"https://github.com/Microsoft/vscode/issues/28365","id":234877617,"number":28365,"title":"environment variable substitution not working in tasks.json","user":{"login":"britt","id":1259,"avatar_url":"https://avatars3.githubusercontent.com/u/1259?v=3","gravatar_id":"","url":"https://api.github.com/users/britt","html_url":"https://github.com/britt","followers_url":"https://api.github.com/users/britt/followers","following_url":"https://api.github.com/users/britt/following{/other_user}","gists_url":"https://api.github.com/users/britt/gists{/gist_id}","starred_url":"https://api.github.com/users/britt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britt/subscriptions","organizations_url":"https://api.github.com/users/britt/orgs","repos_url":"https://api.github.com/users/britt/repos","events_url":"https://api.github.com/users/britt/events{/privacy}","received_events_url":"https://api.github.com/users/britt/received_events","type":"User","site_admin":false},"labels":[{"id":622812512,"url":"https://api.github.com/repos/Microsoft/vscode/labels/new%20release","name":"new release","color":"006b75","default":false},{"id":292032114,"url":"https://api.github.com/repos/Microsoft/vscode/labels/tasks","name":"tasks","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars2.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"assignees":[{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars2.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-06-09T16:25:37Z","updated_at":"2017-06-13T08:01:21Z","closed_at":null,"body":"<!-- Do you have a question? Please ask it on http://stackoverflow.com/questions/tagged/vscode -->\r\n\r\n- VSCode Version: 1.13.0\r\n- OS Version: macOS Sierra 10.12.5\r\n\r\nSteps to Reproduce:\r\n\r\n1. Update to 1.13.0\r\n2. Quit VSCode\r\n3. Open VSCode\r\n4. Run a task where the command relies on env var substitution like ```\"command\": \"${env.GOPATH}/bin/gnatsd\",```\r\n\r\nResults:\r\n```\r\nexecvp(3) failed.: No such file or directory\r\nThe terminal process terminated with exit code: 1\r\n\r\nTerminal will be reused by tasks, press any key to close it.\r\n```\r\n\r\nSpecifying a complete path to the executable works, but any path that relies on ```${env.*}``` fails.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/308038693","html_url":"https://github.com/Microsoft/vscode/issues/28365#issuecomment-308038693","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/28365","id":308038693,"user":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars2.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T08:01:21Z","updated_at":"2017-06-13T08:01:21Z","body":"This happened as a side effect of fixing\r\nhttps://github.com/Microsoft/vscode/issues/16064. In debug land there was confusion between using '.' and ':' as a separator so we decided to use ':' as a separator for the  scope. Since debug and task share the same variable resolving mechanism this got changed for tasks without a necessary deprecation warning. \r\n\r\nSo the new syntax is `${env:GOPATH}` or `${env:windir}. We will look into adding a deprecation warning for this.\r\n"}}
{"actor":{"display_login":"dbaeumer"}}