{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/22858","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/22858/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/22858/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/22858/events","html_url":"https://github.com/rust-lang/rust/pull/22858","id":59193662,"number":22858,"title":"impl Clone for Command","user":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"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},"milestone":null,"comments":3,"created_at":"2015-02-27T05:46:54Z","updated_at":"2015-02-27T17:42:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/22858","html_url":"https://github.com/rust-lang/rust/pull/22858","diff_url":"https://github.com/rust-lang/rust/pull/22858.diff","patch_url":"https://github.com/rust-lang/rust/pull/22858.patch"},"body":"[dejavu](https://github.com/rust-lang/rust/pull/15566)\r\n\r\nBoth (unix/windows) underlying `Command` implementations are already `Clone`.\r\n\r\nr? @alexcrichton "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/76438335","html_url":"https://github.com/rust-lang/rust/pull/22858#issuecomment-76438335","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/22858","id":76438335,"user":{"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},"created_at":"2015-02-27T17:42:45Z","updated_at":"2015-02-27T17:42:45Z","body":"> Without it, doing the same operation would be unergonomic as you'll have to repeat the Command chain several times:\r\n\r\nAnother option, however, would be taking a `FnMut() -> Command` instead of a `Command` itself (e.g. a factory vs explicitly cloneable object). I do agree though that it is less ergonomic.\r\n\r\n> I guess this PR needs an approved RFC?\r\n\r\nThat feels a bit heavy-handed for this particular aspect in my opinion. I believe @aturon is on vacation right now but I would be curious to hear his thoughts on this as well."}}