{"action":"closed","number":2818,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2818","id":75926412,"html_url":"https://github.com/rust-lang/cargo/pull/2818","diff_url":"https://github.com/rust-lang/cargo/pull/2818.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2818.patch","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2818","number":2818,"state":"closed","locked":false,"title":"Use CommandExt::exec for `cargo run` on Unix (#2343)","user":{"login":"robinst","id":16778,"avatar_url":"https://avatars.githubusercontent.com/u/16778?v=3","gravatar_id":"","url":"https://api.github.com/users/robinst","html_url":"https://github.com/robinst","followers_url":"https://api.github.com/users/robinst/followers","following_url":"https://api.github.com/users/robinst/following{/other_user}","gists_url":"https://api.github.com/users/robinst/gists{/gist_id}","starred_url":"https://api.github.com/users/robinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinst/subscriptions","organizations_url":"https://api.github.com/users/robinst/orgs","repos_url":"https://api.github.com/users/robinst/repos","events_url":"https://api.github.com/users/robinst/events{/privacy}","received_events_url":"https://api.github.com/users/robinst/received_events","type":"User","site_admin":false},"body":"Before, we would spawn a child process for the program. One of the\r\nproblems with that is when killing the cargo process, the program\r\ncontinues running.\r\n\r\nWith this change, the cargo process is replaced by the program, and\r\nkilling it works.\r\n\r\nBefore (`cargo run` is the parent):\r\n\r\n> 502  7615  7614   0  2:26PM ttys012    0:00.12 /Users/rstocker/.multirust/toolchains/stable-x86_64-apple-darwin/bin/cargo run\r\n> 502  7620  7615   0  2:26PM ttys012    0:00.01 target/debug/program\r\n\r\nAfter (the shell is the parent):\r\n\r\n> 502 81649 81648   0  5:27PM ttys012    0:00.69 -zsh\r\n> 502  7739 81649   0  2:26PM ttys012    0:01.27 target/debug/program","created_at":"2016-07-01T04:36:36Z","updated_at":"2016-10-20T18:37:31Z","closed_at":"2016-10-20T18:37:31Z","merged_at":"2016-10-20T18:37:31Z","merge_commit_sha":"ed5cea5f7383b720604141b7384ed6ef9390b088","assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/cargo/pulls/2818/commits","review_comments_url":"https://api.github.com/repos/rust-lang/cargo/pulls/2818/comments","review_comment_url":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2818/comments","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/ed5cea5f7383b720604141b7384ed6ef9390b088","head":{"label":"robinst:use-exec-for-cargo-run","ref":"use-exec-for-cargo-run","sha":"ed5cea5f7383b720604141b7384ed6ef9390b088","user":{"login":"robinst","id":16778,"avatar_url":"https://avatars.githubusercontent.com/u/16778?v=3","gravatar_id":"","url":"https://api.github.com/users/robinst","html_url":"https://github.com/robinst","followers_url":"https://api.github.com/users/robinst/followers","following_url":"https://api.github.com/users/robinst/following{/other_user}","gists_url":"https://api.github.com/users/robinst/gists{/gist_id}","starred_url":"https://api.github.com/users/robinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinst/subscriptions","organizations_url":"https://api.github.com/users/robinst/orgs","repos_url":"https://api.github.com/users/robinst/repos","events_url":"https://api.github.com/users/robinst/events{/privacy}","received_events_url":"https://api.github.com/users/robinst/received_events","type":"User","site_admin":false},"repo":{"id":62362672,"name":"cargo","full_name":"robinst/cargo","owner":{"login":"robinst","id":16778,"avatar_url":"https://avatars.githubusercontent.com/u/16778?v=3","gravatar_id":"","url":"https://api.github.com/users/robinst","html_url":"https://github.com/robinst","followers_url":"https://api.github.com/users/robinst/followers","following_url":"https://api.github.com/users/robinst/following{/other_user}","gists_url":"https://api.github.com/users/robinst/gists{/gist_id}","starred_url":"https://api.github.com/users/robinst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinst/subscriptions","organizations_url":"https://api.github.com/users/robinst/orgs","repos_url":"https://api.github.com/users/robinst/repos","events_url":"https://api.github.com/users/robinst/events{/privacy}","received_events_url":"https://api.github.com/users/robinst/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robinst/cargo","description":"The Rust package manager","fork":true,"url":"https://api.github.com/repos/robinst/cargo","forks_url":"https://api.github.com/repos/robinst/cargo/forks","keys_url":"https://api.github.com/repos/robinst/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robinst/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robinst/cargo/teams","hooks_url":"https://api.github.com/repos/robinst/cargo/hooks","issue_events_url":"https://api.github.com/repos/robinst/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/robinst/cargo/events","assignees_url":"https://api.github.com/repos/robinst/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/robinst/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/robinst/cargo/tags","blobs_url":"https://api.github.com/repos/robinst/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robinst/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robinst/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/robinst/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robinst/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/robinst/cargo/languages","stargazers_url":"https://api.github.com/repos/robinst/cargo/stargazers","contributors_url":"https://api.github.com/repos/robinst/cargo/contributors","subscribers_url":"https://api.github.com/repos/robinst/cargo/subscribers","subscription_url":"https://api.github.com/repos/robinst/cargo/subscription","commits_url":"https://api.github.com/repos/robinst/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/robinst/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/robinst/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/robinst/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/robinst/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/robinst/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robinst/cargo/merges","archive_url":"https://api.github.com/repos/robinst/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robinst/cargo/downloads","issues_url":"https://api.github.com/repos/robinst/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/robinst/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/robinst/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/robinst/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robinst/cargo/labels{/name}","releases_url":"https://api.github.com/repos/robinst/cargo/releases{/id}","deployments_url":"https://api.github.com/repos/robinst/cargo/deployments","created_at":"2016-07-01T04:31:09Z","updated_at":"2016-07-01T04:31:12Z","pushed_at":"2016-10-20T02:08:20Z","git_url":"git://github.com/robinst/cargo.git","ssh_url":"git@github.com:robinst/cargo.git","clone_url":"https://github.com/robinst/cargo.git","svn_url":"https://github.com/robinst/cargo","homepage":"http://crates.io/","size":12138,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"02fed69e71806989a96ae372f5d0f7cbb9528c37","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":17420913,"name":"cargo","full_name":"rust-lang/cargo","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/cargo","description":"The Rust package manager","fork":false,"url":"https://api.github.com/repos/rust-lang/cargo","forks_url":"https://api.github.com/repos/rust-lang/cargo/forks","keys_url":"https://api.github.com/repos/rust-lang/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/cargo/teams","hooks_url":"https://api.github.com/repos/rust-lang/cargo/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/cargo/events","assignees_url":"https://api.github.com/repos/rust-lang/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/cargo/tags","blobs_url":"https://api.github.com/repos/rust-lang/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/cargo/languages","stargazers_url":"https://api.github.com/repos/rust-lang/cargo/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/cargo/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/cargo/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/cargo/subscription","commits_url":"https://api.github.com/repos/rust-lang/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/cargo/merges","archive_url":"https://api.github.com/repos/rust-lang/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/cargo/downloads","issues_url":"https://api.github.com/repos/rust-lang/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/cargo/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/cargo/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang/cargo/deployments","created_at":"2014-03-04T23:20:42Z","updated_at":"2016-10-20T11:44:26Z","pushed_at":"2016-10-20T18:37:31Z","git_url":"git://github.com/rust-lang/cargo.git","ssh_url":"git@github.com:rust-lang/cargo.git","clone_url":"https://github.com/rust-lang/cargo.git","svn_url":"https://github.com/rust-lang/cargo","homepage":"https://crates.io/","size":86812,"stargazers_count":1867,"watchers_count":1867,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":455,"mirror_url":null,"open_issues_count":397,"forks":455,"open_issues":397,"watchers":1867,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/2818"},"html":{"href":"https://github.com/rust-lang/cargo/pull/2818"},"issue":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/2818"},"comments":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/2818/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/2818/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/2818/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/cargo/statuses/ed5cea5f7383b720604141b7384ed6ef9390b088"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"comments":18,"review_comments":0,"commits":1,"additions":34,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"bors"}}