{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1572","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1572/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1572/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1572/events","html_url":"https://github.com/rust-lang/cargo/pull/1572","id":72717954,"number":1572,"title":"Shell escape process arguments that are printed out","user":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/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":6,"created_at":"2015-05-02T23:38:09Z","updated_at":"2015-05-04T21:41:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/1572","html_url":"https://github.com/rust-lang/cargo/pull/1572","diff_url":"https://github.com/rust-lang/cargo/pull/1572.diff","patch_url":"https://github.com/rust-lang/cargo/pull/1572.patch"},"body":"Shell escape process arguments that are printed out\r\n\r\ncargo build --verbose does output some command lines that cannot be\r\nsimply copy and pasted into the shell again. The problem is the\r\narguments which are output exactly like this: --feature=\"foo\"\r\n\r\nWhen pasted back into the shell, the shell will parse and remove the\r\ndouble quotes. To counteract this, escape special shell characters when\r\nprinting commandlines. Cargo will print --feature=\\\"foo\\\" instead, which\r\ncan be pasted back into the shell."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/98856169","html_url":"https://github.com/rust-lang/cargo/pull/1572#issuecomment-98856169","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1572","id":98856169,"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-05-04T21:41:12Z","updated_at":"2015-05-04T21:41:12Z","body":"> but we need not set the bar so high yet?\r\n\r\nI agree, this is largely just meant for debugging purposes anyway. This all looks good to me now, thanks!\r\n\r\n@bors: r+ 9da0ba4"}}