{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/dnvm/pulls/comments/39203714","id":39203714,"diff_hunk":"@@ -1652,6 +1653,7 @@ function dnvm-exec {\n         & $Command @Arguments\n     } finally {\n         $env:PATH = $oldPath\n+        $Script:ExitCode = $LASTEXITCODE","path":"src/dnvm.ps1","position":12,"original_position":12,"commit_id":"dac620baff9f9f6ccc7a9f95e3b7a54fd24e5433","original_commit_id":"dac620baff9f9f6ccc7a9f95e3b7a54fd24e5433","user":{"login":"BrennanConroy","id":7574801,"avatar_url":"https://avatars.githubusercontent.com/u/7574801?v=3","gravatar_id":"","url":"https://api.github.com/users/BrennanConroy","html_url":"https://github.com/BrennanConroy","followers_url":"https://api.github.com/users/BrennanConroy/followers","following_url":"https://api.github.com/users/BrennanConroy/following{/other_user}","gists_url":"https://api.github.com/users/BrennanConroy/gists{/gist_id}","starred_url":"https://api.github.com/users/BrennanConroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrennanConroy/subscriptions","organizations_url":"https://api.github.com/users/BrennanConroy/orgs","repos_url":"https://api.github.com/users/BrennanConroy/repos","events_url":"https://api.github.com/users/BrennanConroy/events{/privacy}","received_events_url":"https://api.github.com/users/BrennanConroy/received_events","type":"User","site_admin":false},"body":"Do you have some strange settings because it works fine with my powershell","created_at":"2015-09-10T19:39:15Z","updated_at":"2015-09-10T19:39:15Z","html_url":"https://github.com/aspnet/dnvm/pull/434#discussion_r39203714","pull_request_url":"https://api.github.com/repos/aspnet/dnvm/pulls/434","_links":{"self":{"href":"https://api.github.com/repos/aspnet/dnvm/pulls/comments/39203714"},"html":{"href":"https://github.com/aspnet/dnvm/pull/434#discussion_r39203714"},"pull_request":{"href":"https://api.github.com/repos/aspnet/dnvm/pulls/434"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/dnvm/pulls/434","id":44685479,"html_url":"https://github.com/aspnet/dnvm/pull/434","diff_url":"https://github.com/aspnet/dnvm/pull/434.diff","patch_url":"https://github.com/aspnet/dnvm/pull/434.patch","issue_url":"https://api.github.com/repos/aspnet/dnvm/issues/434","number":434,"state":"open","locked":false,"title":"Return exit code from dnx in dnvm exec and run","user":{"login":"BrennanConroy","id":7574801,"avatar_url":"https://avatars.githubusercontent.com/u/7574801?v=3","gravatar_id":"","url":"https://api.github.com/users/BrennanConroy","html_url":"https://github.com/BrennanConroy","followers_url":"https://api.github.com/users/BrennanConroy/followers","following_url":"https://api.github.com/users/BrennanConroy/following{/other_user}","gists_url":"https://api.github.com/users/BrennanConroy/gists{/gist_id}","starred_url":"https://api.github.com/users/BrennanConroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrennanConroy/subscriptions","organizations_url":"https://api.github.com/users/BrennanConroy/orgs","repos_url":"https://api.github.com/users/BrennanConroy/repos","events_url":"https://api.github.com/users/BrennanConroy/events{/privacy}","received_events_url":"https://api.github.com/users/BrennanConroy/received_events","type":"User","site_admin":false},"body":"@dougbu @anurse \r\n#428","created_at":"2015-09-10T15:55:11Z","updated_at":"2015-09-10T19:39:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee40d19096cddcb114801096309aa2af23c6d3de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/dnvm/pulls/434/commits","review_comments_url":"https://api.github.com/repos/aspnet/dnvm/pulls/434/comments","review_comment_url":"https://api.github.com/repos/aspnet/dnvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/dnvm/issues/434/comments","statuses_url":"https://api.github.com/repos/aspnet/dnvm/statuses/dac620baff9f9f6ccc7a9f95e3b7a54fd24e5433","head":{"label":"aspnet:brecon/ret_exit_code","ref":"brecon/ret_exit_code","sha":"dac620baff9f9f6ccc7a9f95e3b7a54fd24e5433","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":21449162,"name":"dnvm","full_name":"aspnet/dnvm","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/dnvm","description":"The .NET SDK Manager, a set of command line utilities to update and configure which runtime (DNX) to use.","fork":false,"url":"https://api.github.com/repos/aspnet/dnvm","forks_url":"https://api.github.com/repos/aspnet/dnvm/forks","keys_url":"https://api.github.com/repos/aspnet/dnvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/dnvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/dnvm/teams","hooks_url":"https://api.github.com/repos/aspnet/dnvm/hooks","issue_events_url":"https://api.github.com/repos/aspnet/dnvm/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/dnvm/events","assignees_url":"https://api.github.com/repos/aspnet/dnvm/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/dnvm/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/dnvm/tags","blobs_url":"https://api.github.com/repos/aspnet/dnvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/dnvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/dnvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/dnvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/dnvm/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/dnvm/languages","stargazers_url":"https://api.github.com/repos/aspnet/dnvm/stargazers","contributors_url":"https://api.github.com/repos/aspnet/dnvm/contributors","subscribers_url":"https://api.github.com/repos/aspnet/dnvm/subscribers","subscription_url":"https://api.github.com/repos/aspnet/dnvm/subscription","commits_url":"https://api.github.com/repos/aspnet/dnvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/dnvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/dnvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/dnvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/dnvm/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/dnvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/dnvm/merges","archive_url":"https://api.github.com/repos/aspnet/dnvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/dnvm/downloads","issues_url":"https://api.github.com/repos/aspnet/dnvm/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/dnvm/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/dnvm/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/dnvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/dnvm/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/dnvm/releases{/id}","created_at":"2014-07-03T03:56:09Z","updated_at":"2015-09-09T06:24:42Z","pushed_at":"2015-09-10T15:55:11Z","git_url":"git://github.com/aspnet/dnvm.git","ssh_url":"git@github.com:aspnet/dnvm.git","clone_url":"https://github.com/aspnet/dnvm.git","svn_url":"https://github.com/aspnet/dnvm","homepage":"","size":5388,"stargazers_count":135,"watchers_count":135,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":116,"forks":60,"open_issues":116,"watchers":135,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"42aa577684107adc6434eab8c761927fd627f344","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":21449162,"name":"dnvm","full_name":"aspnet/dnvm","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/dnvm","description":"The .NET SDK Manager, a set of command line utilities to update and configure which runtime (DNX) to use.","fork":false,"url":"https://api.github.com/repos/aspnet/dnvm","forks_url":"https://api.github.com/repos/aspnet/dnvm/forks","keys_url":"https://api.github.com/repos/aspnet/dnvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/dnvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/dnvm/teams","hooks_url":"https://api.github.com/repos/aspnet/dnvm/hooks","issue_events_url":"https://api.github.com/repos/aspnet/dnvm/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/dnvm/events","assignees_url":"https://api.github.com/repos/aspnet/dnvm/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/dnvm/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/dnvm/tags","blobs_url":"https://api.github.com/repos/aspnet/dnvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/dnvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/dnvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/dnvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/dnvm/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/dnvm/languages","stargazers_url":"https://api.github.com/repos/aspnet/dnvm/stargazers","contributors_url":"https://api.github.com/repos/aspnet/dnvm/contributors","subscribers_url":"https://api.github.com/repos/aspnet/dnvm/subscribers","subscription_url":"https://api.github.com/repos/aspnet/dnvm/subscription","commits_url":"https://api.github.com/repos/aspnet/dnvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/dnvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/dnvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/dnvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/dnvm/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/dnvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/dnvm/merges","archive_url":"https://api.github.com/repos/aspnet/dnvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/dnvm/downloads","issues_url":"https://api.github.com/repos/aspnet/dnvm/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/dnvm/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/dnvm/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/dnvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/dnvm/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/dnvm/releases{/id}","created_at":"2014-07-03T03:56:09Z","updated_at":"2015-09-09T06:24:42Z","pushed_at":"2015-09-10T15:55:11Z","git_url":"git://github.com/aspnet/dnvm.git","ssh_url":"git@github.com:aspnet/dnvm.git","clone_url":"https://github.com/aspnet/dnvm.git","svn_url":"https://github.com/aspnet/dnvm","homepage":"","size":5388,"stargazers_count":135,"watchers_count":135,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":116,"forks":60,"open_issues":116,"watchers":135,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/dnvm/pulls/434"},"html":{"href":"https://github.com/aspnet/dnvm/pull/434"},"issue":{"href":"https://api.github.com/repos/aspnet/dnvm/issues/434"},"comments":{"href":"https://api.github.com/repos/aspnet/dnvm/issues/434/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/dnvm/pulls/434/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/dnvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/dnvm/pulls/434/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/dnvm/statuses/dac620baff9f9f6ccc7a9f95e3b7a54fd24e5433"}}}}