{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/39889548","id":39889548,"diff_hunk":"@@ -49,21 +49,24 @@ function repl_cmd(cmd, out)\n         shell = \"/bin/sh\"\n     end\n \n-    if isempty(cmd.exec)\n-        throw(ArgumentError(\"no cmd to execute\"))\n-    elseif cmd.exec[1] == \"cd\"\n+    cmds = split(line)","path":"base/client.jl","position":16,"original_position":16,"commit_id":"48e01917b2a71b29d7d14c3c3f652225b28edf50","original_commit_id":"48e01917b2a71b29d7d14c3c3f652225b28edf50","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"body":"Good catch, this needs to use `Base.shell_split` instead.","created_at":"2015-09-18T19:01:10Z","updated_at":"2015-09-18T19:01:10Z","html_url":"https://github.com/JuliaLang/julia/pull/13195#discussion_r39889548","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/13195","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/39889548"},"html":{"href":"https://github.com/JuliaLang/julia/pull/13195#discussion_r39889548"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13195"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/13195","id":45356981,"html_url":"https://github.com/JuliaLang/julia/pull/13195","diff_url":"https://github.com/JuliaLang/julia/pull/13195.diff","patch_url":"https://github.com/JuliaLang/julia/pull/13195.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/13195","number":13195,"state":"open","locked":false,"title":"Correct shell quoting in REPL","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"body":"Fixes #10120.","created_at":"2015-09-18T00:12:18Z","updated_at":"2015-09-18T19:01:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12870c1f08c8cebd7c1af93b87e7015bb2fe505c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/13195/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/13195/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/13195/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/48e01917b2a71b29d7d14c3c3f652225b28edf50","head":{"label":"eschnett:shell-quoting","ref":"shell-quoting","sha":"48e01917b2a71b29d7d14c3c3f652225b28edf50","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"repo":{"id":23268889,"name":"julia","full_name":"eschnett/julia","owner":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eschnett/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/eschnett/julia","forks_url":"https://api.github.com/repos/eschnett/julia/forks","keys_url":"https://api.github.com/repos/eschnett/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eschnett/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eschnett/julia/teams","hooks_url":"https://api.github.com/repos/eschnett/julia/hooks","issue_events_url":"https://api.github.com/repos/eschnett/julia/issues/events{/number}","events_url":"https://api.github.com/repos/eschnett/julia/events","assignees_url":"https://api.github.com/repos/eschnett/julia/assignees{/user}","branches_url":"https://api.github.com/repos/eschnett/julia/branches{/branch}","tags_url":"https://api.github.com/repos/eschnett/julia/tags","blobs_url":"https://api.github.com/repos/eschnett/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eschnett/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eschnett/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/eschnett/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eschnett/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/eschnett/julia/languages","stargazers_url":"https://api.github.com/repos/eschnett/julia/stargazers","contributors_url":"https://api.github.com/repos/eschnett/julia/contributors","subscribers_url":"https://api.github.com/repos/eschnett/julia/subscribers","subscription_url":"https://api.github.com/repos/eschnett/julia/subscription","commits_url":"https://api.github.com/repos/eschnett/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/eschnett/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/eschnett/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/eschnett/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/eschnett/julia/contents/{+path}","compare_url":"https://api.github.com/repos/eschnett/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eschnett/julia/merges","archive_url":"https://api.github.com/repos/eschnett/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eschnett/julia/downloads","issues_url":"https://api.github.com/repos/eschnett/julia/issues{/number}","pulls_url":"https://api.github.com/repos/eschnett/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/eschnett/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/eschnett/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eschnett/julia/labels{/name}","releases_url":"https://api.github.com/repos/eschnett/julia/releases{/id}","created_at":"2014-08-23T23:50:07Z","updated_at":"2015-02-03T13:25:37Z","pushed_at":"2015-09-18T17:55:51Z","git_url":"git://github.com/eschnett/julia.git","ssh_url":"git@github.com:eschnett/julia.git","clone_url":"https://github.com/eschnett/julia.git","svn_url":"https://github.com/eschnett/julia","homepage":"http://julialang.org/","size":89349,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"JuliaLang:master","ref":"master","sha":"1a5e9cff45d5d78bf555d3b43e05fc5dca0137c0","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","created_at":"2011-04-21T07:01:50Z","updated_at":"2015-09-18T11:46:59Z","pushed_at":"2015-09-18T18:56:57Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":226318,"stargazers_count":5991,"watchers_count":5991,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1321,"mirror_url":null,"open_issues_count":1396,"forks":1321,"open_issues":1396,"watchers":5991,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13195"},"html":{"href":"https://github.com/JuliaLang/julia/pull/13195"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/13195"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/13195/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13195/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/13195/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/48e01917b2a71b29d7d14c3c3f652225b28edf50"}}}}