{"action":"closed","number":1694,"pull_request":{"url":"https://api.github.com/repos/drush-ops/drush/pulls/1694","id":47998950,"html_url":"https://github.com/drush-ops/drush/pull/1694","diff_url":"https://github.com/drush-ops/drush/pull/1694.diff","patch_url":"https://github.com/drush-ops/drush/pull/1694.patch","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/1694","number":1694,"state":"closed","locked":false,"title":"Detailed error message when pcntl_exec() fails ","user":{"login":"sebas5384","id":97021,"avatar_url":"https://avatars.githubusercontent.com/u/97021?v=3","gravatar_id":"","url":"https://api.github.com/users/sebas5384","html_url":"https://github.com/sebas5384","followers_url":"https://api.github.com/users/sebas5384/followers","following_url":"https://api.github.com/users/sebas5384/following{/other_user}","gists_url":"https://api.github.com/users/sebas5384/gists{/gist_id}","starred_url":"https://api.github.com/users/sebas5384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebas5384/subscriptions","organizations_url":"https://api.github.com/users/sebas5384/orgs","repos_url":"https://api.github.com/users/sebas5384/repos","events_url":"https://api.github.com/users/sebas5384/events{/privacy}","received_events_url":"https://api.github.com/users/sebas5384/received_events","type":"User","site_admin":false},"body":"I accidentally created a drush file (without execution permissions) at the root of the project, and without knowing, the drush execution was broken.\r\nDrush was giving me this error:\r\n```\r\nPHP Warning:  pcntl_exec(): Error has occurred: (errno 13) Permission denied in /usr/local/share/drush/includes/startup.inc on line 294\r\n```\r\n\r\nTook me a while to understand that the permission denied was related to the drush script execution found in the root of the project.\r\nMaybe something more described could help:\r\n```\r\nPHP Warning:  pcntl_exec(): Error has occurred: (errno 13) Permission denied in /usr/local/share/drush/includes/startup.inc on line 294\r\nError has occurred executing the Drush script found at /home/vagrant/project/builds/20151016-134102/drush\r\n(errno 13) Permission denied\r\n```\r\nLooks a little verbose, but I think could be a first step into improvement.","created_at":"2015-10-18T00:51:17Z","updated_at":"2015-10-22T19:20:45Z","closed_at":"2015-10-22T19:20:45Z","merged_at":"2015-10-22T19:20:45Z","merge_commit_sha":"706e48d52cbfe8bd94ea1f446e575917bf956956","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drush-ops/drush/pulls/1694/commits","review_comments_url":"https://api.github.com/repos/drush-ops/drush/pulls/1694/comments","review_comment_url":"https://api.github.com/repos/drush-ops/drush/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/1694/comments","statuses_url":"https://api.github.com/repos/drush-ops/drush/statuses/b129d3fdf64750af067e606679896af7430d732f","head":{"label":"sebas5384:error-message-drush-script","ref":"error-message-drush-script","sha":"b129d3fdf64750af067e606679896af7430d732f","user":{"login":"sebas5384","id":97021,"avatar_url":"https://avatars.githubusercontent.com/u/97021?v=3","gravatar_id":"","url":"https://api.github.com/users/sebas5384","html_url":"https://github.com/sebas5384","followers_url":"https://api.github.com/users/sebas5384/followers","following_url":"https://api.github.com/users/sebas5384/following{/other_user}","gists_url":"https://api.github.com/users/sebas5384/gists{/gist_id}","starred_url":"https://api.github.com/users/sebas5384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebas5384/subscriptions","organizations_url":"https://api.github.com/users/sebas5384/orgs","repos_url":"https://api.github.com/users/sebas5384/repos","events_url":"https://api.github.com/users/sebas5384/events{/privacy}","received_events_url":"https://api.github.com/users/sebas5384/received_events","type":"User","site_admin":false},"repo":{"id":44458996,"name":"drush","full_name":"sebas5384/drush","owner":{"login":"sebas5384","id":97021,"avatar_url":"https://avatars.githubusercontent.com/u/97021?v=3","gravatar_id":"","url":"https://api.github.com/users/sebas5384","html_url":"https://github.com/sebas5384","followers_url":"https://api.github.com/users/sebas5384/followers","following_url":"https://api.github.com/users/sebas5384/following{/other_user}","gists_url":"https://api.github.com/users/sebas5384/gists{/gist_id}","starred_url":"https://api.github.com/users/sebas5384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebas5384/subscriptions","organizations_url":"https://api.github.com/users/sebas5384/orgs","repos_url":"https://api.github.com/users/sebas5384/repos","events_url":"https://api.github.com/users/sebas5384/events{/privacy}","received_events_url":"https://api.github.com/users/sebas5384/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sebas5384/drush","description":"Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.","fork":true,"url":"https://api.github.com/repos/sebas5384/drush","forks_url":"https://api.github.com/repos/sebas5384/drush/forks","keys_url":"https://api.github.com/repos/sebas5384/drush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebas5384/drush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebas5384/drush/teams","hooks_url":"https://api.github.com/repos/sebas5384/drush/hooks","issue_events_url":"https://api.github.com/repos/sebas5384/drush/issues/events{/number}","events_url":"https://api.github.com/repos/sebas5384/drush/events","assignees_url":"https://api.github.com/repos/sebas5384/drush/assignees{/user}","branches_url":"https://api.github.com/repos/sebas5384/drush/branches{/branch}","tags_url":"https://api.github.com/repos/sebas5384/drush/tags","blobs_url":"https://api.github.com/repos/sebas5384/drush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebas5384/drush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebas5384/drush/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebas5384/drush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebas5384/drush/statuses/{sha}","languages_url":"https://api.github.com/repos/sebas5384/drush/languages","stargazers_url":"https://api.github.com/repos/sebas5384/drush/stargazers","contributors_url":"https://api.github.com/repos/sebas5384/drush/contributors","subscribers_url":"https://api.github.com/repos/sebas5384/drush/subscribers","subscription_url":"https://api.github.com/repos/sebas5384/drush/subscription","commits_url":"https://api.github.com/repos/sebas5384/drush/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebas5384/drush/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebas5384/drush/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebas5384/drush/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebas5384/drush/contents/{+path}","compare_url":"https://api.github.com/repos/sebas5384/drush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebas5384/drush/merges","archive_url":"https://api.github.com/repos/sebas5384/drush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebas5384/drush/downloads","issues_url":"https://api.github.com/repos/sebas5384/drush/issues{/number}","pulls_url":"https://api.github.com/repos/sebas5384/drush/pulls{/number}","milestones_url":"https://api.github.com/repos/sebas5384/drush/milestones{/number}","notifications_url":"https://api.github.com/repos/sebas5384/drush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebas5384/drush/labels{/name}","releases_url":"https://api.github.com/repos/sebas5384/drush/releases{/id}","created_at":"2015-10-17T23:53:27Z","updated_at":"2015-10-17T23:53:31Z","pushed_at":"2015-10-18T00:52:11Z","git_url":"git://github.com/sebas5384/drush.git","ssh_url":"git@github.com:sebas5384/drush.git","clone_url":"https://github.com/sebas5384/drush.git","svn_url":"https://github.com/sebas5384/drush","homepage":"","size":12305,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"drush-ops:master","ref":"master","sha":"4017fe6b80b1e58137f98c82ae0cf3ff8fcfa8d1","user":{"login":"drush-ops","id":931201,"avatar_url":"https://avatars.githubusercontent.com/u/931201?v=3","gravatar_id":"","url":"https://api.github.com/users/drush-ops","html_url":"https://github.com/drush-ops","followers_url":"https://api.github.com/users/drush-ops/followers","following_url":"https://api.github.com/users/drush-ops/following{/other_user}","gists_url":"https://api.github.com/users/drush-ops/gists{/gist_id}","starred_url":"https://api.github.com/users/drush-ops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drush-ops/subscriptions","organizations_url":"https://api.github.com/users/drush-ops/orgs","repos_url":"https://api.github.com/users/drush-ops/repos","events_url":"https://api.github.com/users/drush-ops/events{/privacy}","received_events_url":"https://api.github.com/users/drush-ops/received_events","type":"Organization","site_admin":false},"repo":{"id":3193843,"name":"drush","full_name":"drush-ops/drush","owner":{"login":"drush-ops","id":931201,"avatar_url":"https://avatars.githubusercontent.com/u/931201?v=3","gravatar_id":"","url":"https://api.github.com/users/drush-ops","html_url":"https://github.com/drush-ops","followers_url":"https://api.github.com/users/drush-ops/followers","following_url":"https://api.github.com/users/drush-ops/following{/other_user}","gists_url":"https://api.github.com/users/drush-ops/gists{/gist_id}","starred_url":"https://api.github.com/users/drush-ops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drush-ops/subscriptions","organizations_url":"https://api.github.com/users/drush-ops/orgs","repos_url":"https://api.github.com/users/drush-ops/repos","events_url":"https://api.github.com/users/drush-ops/events{/privacy}","received_events_url":"https://api.github.com/users/drush-ops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drush-ops/drush","description":"Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.","fork":false,"url":"https://api.github.com/repos/drush-ops/drush","forks_url":"https://api.github.com/repos/drush-ops/drush/forks","keys_url":"https://api.github.com/repos/drush-ops/drush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drush-ops/drush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drush-ops/drush/teams","hooks_url":"https://api.github.com/repos/drush-ops/drush/hooks","issue_events_url":"https://api.github.com/repos/drush-ops/drush/issues/events{/number}","events_url":"https://api.github.com/repos/drush-ops/drush/events","assignees_url":"https://api.github.com/repos/drush-ops/drush/assignees{/user}","branches_url":"https://api.github.com/repos/drush-ops/drush/branches{/branch}","tags_url":"https://api.github.com/repos/drush-ops/drush/tags","blobs_url":"https://api.github.com/repos/drush-ops/drush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drush-ops/drush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drush-ops/drush/git/refs{/sha}","trees_url":"https://api.github.com/repos/drush-ops/drush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drush-ops/drush/statuses/{sha}","languages_url":"https://api.github.com/repos/drush-ops/drush/languages","stargazers_url":"https://api.github.com/repos/drush-ops/drush/stargazers","contributors_url":"https://api.github.com/repos/drush-ops/drush/contributors","subscribers_url":"https://api.github.com/repos/drush-ops/drush/subscribers","subscription_url":"https://api.github.com/repos/drush-ops/drush/subscription","commits_url":"https://api.github.com/repos/drush-ops/drush/commits{/sha}","git_commits_url":"https://api.github.com/repos/drush-ops/drush/git/commits{/sha}","comments_url":"https://api.github.com/repos/drush-ops/drush/comments{/number}","issue_comment_url":"https://api.github.com/repos/drush-ops/drush/issues/comments{/number}","contents_url":"https://api.github.com/repos/drush-ops/drush/contents/{+path}","compare_url":"https://api.github.com/repos/drush-ops/drush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drush-ops/drush/merges","archive_url":"https://api.github.com/repos/drush-ops/drush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drush-ops/drush/downloads","issues_url":"https://api.github.com/repos/drush-ops/drush/issues{/number}","pulls_url":"https://api.github.com/repos/drush-ops/drush/pulls{/number}","milestones_url":"https://api.github.com/repos/drush-ops/drush/milestones{/number}","notifications_url":"https://api.github.com/repos/drush-ops/drush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drush-ops/drush/labels{/name}","releases_url":"https://api.github.com/repos/drush-ops/drush/releases{/id}","created_at":"2012-01-16T20:26:51Z","updated_at":"2015-10-22T11:15:43Z","pushed_at":"2015-10-22T19:20:45Z","git_url":"git://github.com/drush-ops/drush.git","ssh_url":"git@github.com:drush-ops/drush.git","clone_url":"https://github.com/drush-ops/drush.git","svn_url":"https://github.com/drush-ops/drush","homepage":"","size":24491,"stargazers_count":1234,"watchers_count":1234,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":612,"mirror_url":null,"open_issues_count":319,"forks":612,"open_issues":319,"watchers":1234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drush-ops/drush/pulls/1694"},"html":{"href":"https://github.com/drush-ops/drush/pull/1694"},"issue":{"href":"https://api.github.com/repos/drush-ops/drush/issues/1694"},"comments":{"href":"https://api.github.com/repos/drush-ops/drush/issues/1694/comments"},"review_comments":{"href":"https://api.github.com/repos/drush-ops/drush/pulls/1694/comments"},"review_comment":{"href":"https://api.github.com/repos/drush-ops/drush/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drush-ops/drush/pulls/1694/commits"},"statuses":{"href":"https://api.github.com/repos/drush-ops/drush/statuses/b129d3fdf64750af067e606679896af7430d732f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"weitzman","id":7740,"avatar_url":"https://avatars.githubusercontent.com/u/7740?v=3","gravatar_id":"","url":"https://api.github.com/users/weitzman","html_url":"https://github.com/weitzman","followers_url":"https://api.github.com/users/weitzman/followers","following_url":"https://api.github.com/users/weitzman/following{/other_user}","gists_url":"https://api.github.com/users/weitzman/gists{/gist_id}","starred_url":"https://api.github.com/users/weitzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weitzman/subscriptions","organizations_url":"https://api.github.com/users/weitzman/orgs","repos_url":"https://api.github.com/users/weitzman/repos","events_url":"https://api.github.com/users/weitzman/events{/privacy}","received_events_url":"https://api.github.com/users/weitzman/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":7,"deletions":1,"changed_files":1}}