{"action":"created","issue":{"url":"https://api.github.com/repos/rmyorston/busybox-w32/issues/49","labels_url":"https://api.github.com/repos/rmyorston/busybox-w32/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/rmyorston/busybox-w32/issues/49/comments","events_url":"https://api.github.com/repos/rmyorston/busybox-w32/issues/49/events","html_url":"https://github.com/rmyorston/busybox-w32/issues/49","id":119636073,"number":49,"title":"Can not identify directory?","user":{"login":"aswjh","id":6280240,"avatar_url":"https://avatars.githubusercontent.com/u/6280240?v=3","gravatar_id":"","url":"https://api.github.com/users/aswjh","html_url":"https://github.com/aswjh","followers_url":"https://api.github.com/users/aswjh/followers","following_url":"https://api.github.com/users/aswjh/following{/other_user}","gists_url":"https://api.github.com/users/aswjh/gists{/gist_id}","starred_url":"https://api.github.com/users/aswjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aswjh/subscriptions","organizations_url":"https://api.github.com/users/aswjh/orgs","repos_url":"https://api.github.com/users/aswjh/repos","events_url":"https://api.github.com/users/aswjh/events{/privacy}","received_events_url":"https://api.github.com/users/aswjh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T03:46:10Z","updated_at":"2015-12-03T12:13:06Z","closed_at":"2015-12-03T12:13:06Z","body":"on XP(same problem on linux):\r\n![bb](https://cloud.githubusercontent.com/assets/6280240/11491893/07dbc8ec-97de-11e5-9d35-5128fdcbbeff.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/rmyorston/busybox-w32/issues/comments/161617277","html_url":"https://github.com/rmyorston/busybox-w32/issues/49#issuecomment-161617277","issue_url":"https://api.github.com/repos/rmyorston/busybox-w32/issues/49","id":161617277,"user":{"login":"rmyorston","id":843671,"avatar_url":"https://avatars.githubusercontent.com/u/843671?v=3","gravatar_id":"","url":"https://api.github.com/users/rmyorston","html_url":"https://github.com/rmyorston","followers_url":"https://api.github.com/users/rmyorston/followers","following_url":"https://api.github.com/users/rmyorston/following{/other_user}","gists_url":"https://api.github.com/users/rmyorston/gists{/gist_id}","starred_url":"https://api.github.com/users/rmyorston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmyorston/subscriptions","organizations_url":"https://api.github.com/users/rmyorston/orgs","repos_url":"https://api.github.com/users/rmyorston/repos","events_url":"https://api.github.com/users/rmyorston/events{/privacy}","received_events_url":"https://api.github.com/users/rmyorston/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T12:13:06Z","updated_at":"2015-12-03T12:13:06Z","body":"I don't think trying to execute a directory is worth a special case.  The error messages are different on Linux and Windows but both make some sense.  Linux says 'Permission denied' while Windows says 'Exec format error'.\r\n\r\nThe exit status is 127, which may be considered contrary to POSIX.  POSIX says:\r\n\r\n>If a command is not found, the exit status shall be 127. If the command name is found, but it is not an executable utility, the exit status shall be 126.\r\n\r\nI see that dash, on which BusyBox ash is based, also returns an exit status of 127 in this case.  I wouldn't consider this worth fixing unless someone is really concerned about it."}}