{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/814","labels_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/814/comments","events_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/814/events","html_url":"https://github.com/Microsoft/vso-agent-tasks/issues/814","id":116773242,"number":814,"title":"Command Line task: Use of quotes, escapes in Arguments do not seem to get handled properly","user":{"login":"Chuxel","id":312252,"avatar_url":"https://avatars.githubusercontent.com/u/312252?v=3","gravatar_id":"","url":"https://api.github.com/users/Chuxel","html_url":"https://github.com/Chuxel","followers_url":"https://api.github.com/users/Chuxel/followers","following_url":"https://api.github.com/users/Chuxel/following{/other_user}","gists_url":"https://api.github.com/users/Chuxel/gists{/gist_id}","starred_url":"https://api.github.com/users/Chuxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chuxel/subscriptions","organizations_url":"https://api.github.com/users/Chuxel/orgs","repos_url":"https://api.github.com/users/Chuxel/repos","events_url":"https://api.github.com/users/Chuxel/events{/privacy}","received_events_url":"https://api.github.com/users/Chuxel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T14:00:38Z","updated_at":"2015-11-13T14:02:32Z","closed_at":null,"body":"The Command Line Task does not properly handle quotes and in some cases escaping. (It does a simple split on space.)\r\n \r\nRepro:\r\n \r\n1. Add Command Line Task to a VSO Build Def\r\n2. Command: kilall\r\n3. Arguments: \"iOS Simulator\"\r\n4. Run on a mac agent (may need to add \"sh\" as a demand)\r\n \r\nExpected: Any simulators running on the Mac Host will stop\r\nActual: Error message on parsing due to the simplistic nature of the split being done\r\n\r\nNote: Found on Mac but should be restested on Windows as well.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/comments/156438461","html_url":"https://github.com/Microsoft/vso-agent-tasks/issues/814#issuecomment-156438461","issue_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/814","id":156438461,"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":"2015-11-13T14:02:32Z","updated_at":"2015-11-13T14:02:32Z","body":"I'm investigating.  We added support in vso-task-lib to simply pass to .arg but I guess that task is still doing a split.\r\n\r\nWill fix today"}}