{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/118","repository_url":"https://api.github.com/repos/Microsoft/vsts-agent","labels_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/118/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/118/events","html_url":"https://github.com/Microsoft/vsts-agent/pull/118","id":152886300,"number":118,"title":"Preload Path env variable for OSX service","user":{"login":"stiliev","id":16541189,"avatar_url":"https://avatars.githubusercontent.com/u/16541189?v=3","gravatar_id":"","url":"https://api.github.com/users/stiliev","html_url":"https://github.com/stiliev","followers_url":"https://api.github.com/users/stiliev/followers","following_url":"https://api.github.com/users/stiliev/following{/other_user}","gists_url":"https://api.github.com/users/stiliev/gists{/gist_id}","starred_url":"https://api.github.com/users/stiliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stiliev/subscriptions","organizations_url":"https://api.github.com/users/stiliev/orgs","repos_url":"https://api.github.com/users/stiliev/repos","events_url":"https://api.github.com/users/stiliev/events{/privacy}","received_events_url":"https://api.github.com/users/stiliev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-03T22:11:20Z","updated_at":"2016-05-04T13:49:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/pulls/118","html_url":"https://github.com/Microsoft/vsts-agent/pull/118","diff_url":"https://github.com/Microsoft/vsts-agent/pull/118.diff","patch_url":"https://github.com/Microsoft/vsts-agent/pull/118.patch"},"body":"This is reading the Path variable during config and it is passing it to the OSX service (same as Linux service)\r\nI tested with PATH containing spaces. To avoid issues with special characters recognized by \"sed\" as commands, I followed the suggestion on http://stackoverflow.com/questions/407523/escape-a-string-for-a-sed-replace-pattern\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/comments/216870318","html_url":"https://github.com/Microsoft/vsts-agent/pull/118#issuecomment-216870318","issue_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/118","id":216870318,"user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars.githubusercontent.com/u/919564?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T13:49:19Z","updated_at":"2016-05-04T13:49:19Z","body":"OK - let's merge.\r\n\r\nAlso validate interactive has matching path of running terminal.  I assigned an issue to you which tracks this work."}}