{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5465","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5465/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5465/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5465/events","html_url":"https://github.com/neovim/neovim/issues/5465","id":182397354,"number":5465,"title":"jobstart() throws exception for non-exe (when using argv) / and not -1 with string","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"labels":[{"id":77997474,"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"f9d0c4","default":true},{"id":407246773,"url":"https://api.github.com/repos/neovim/neovim/labels/complexity:low","name":"complexity:low","color":"e6e6e6","default":false},{"id":182884815,"url":"https://api.github.com/repos/neovim/neovim/labels/job-control","name":"job-control","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/10","html_url":"https://github.com/neovim/neovim/milestone/10","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/10/labels","id":1183808,"number":10,"title":"0.2","description":"codename: \"keanu\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":84,"closed_issues":196,"state":"open","created_at":"2015-06-27T19:05:24Z","updated_at":"2016-12-08T14:26:30Z","due_on":"2016-12-25T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-11T23:11:48Z","updated_at":"2016-12-10T16:15:26Z","closed_at":null,"body":"`nvim --version`: v0.1.6-180-geeec0ca\n\n`:let job = jobstart(['nonexe'])` throws `E902: \"nonexe\" is not an executable`, but the documentation says:\n\n> Returns:\n> …\n> - -1 if {cmd}[0] is not executable.  \n\nOn top of this `:let job = jobstart('nonexe') | echo job` does not return -1, but an incrementing Job ID.\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/266219189","html_url":"https://github.com/neovim/neovim/issues/5465#issuecomment-266219189","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5465","id":266219189,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T16:15:26Z","updated_at":"2016-12-10T16:15:26Z","body":"> On top of this `:let job = jobstart('nonexe') | echo job` does not return -1, but an incrementing Job ID.\r\n\r\nThat's because unlike `jobstart(['nonexe'])` (with brackets), `jobstart('nonexe')` _cannot_ fail, except for the case where `'shell'` is not executable. However, I added a test to cover this anyway."}}
{"actor":{"display_login":"justinmk"}}