{"action":"opened","number":212,"pull_request":{"url":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/212","id":71467935,"html_url":"https://github.com/10gen/mongo-orchestration/pull/212","diff_url":"https://github.com/10gen/mongo-orchestration/pull/212.diff","patch_url":"https://github.com/10gen/mongo-orchestration/pull/212.patch","issue_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues/212","number":212,"state":"open","locked":false,"title":"Print CreateProcess errors on win32","user":{"login":"ajdavis","id":84101,"avatar_url":"https://avatars.githubusercontent.com/u/84101?v=3","gravatar_id":"","url":"https://api.github.com/users/ajdavis","html_url":"https://github.com/ajdavis","followers_url":"https://api.github.com/users/ajdavis/followers","following_url":"https://api.github.com/users/ajdavis/following{/other_user}","gists_url":"https://api.github.com/users/ajdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/ajdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajdavis/subscriptions","organizations_url":"https://api.github.com/users/ajdavis/orgs","repos_url":"https://api.github.com/users/ajdavis/repos","events_url":"https://api.github.com/users/ajdavis/events{/privacy}","received_events_url":"https://api.github.com/users/ajdavis/received_events","type":"User","site_admin":false},"body":"Clarifies a magic number and doesn't suppress output if CreateProcess fails. I found, for example, that if the \"mongo_orchestration\" script isn't installed, CreateProcess fails silently and daemonization times out mysteriously. With this change in place, however, we get an error:\r\n\r\n```\r\n$ python mongo_orchestration/server.py  -f ../orchestration.config -e default start --socket-timeout-ms=60000 --bind=127.0.0.1 -s wsgiref\r\n'mongo_orchestration' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n```\r\n","created_at":"2016-05-25T21:41:19Z","updated_at":"2016-05-25T21:41:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/212/commits","review_comments_url":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/212/comments","review_comment_url":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues/212/comments","statuses_url":"https://api.github.com/repos/10gen/mongo-orchestration/statuses/7aca01cccfd43945156189393d6a7ec6f6a81b75","head":{"label":"10gen:win32-daemonize-debug","ref":"win32-daemonize-debug","sha":"7aca01cccfd43945156189393d6a7ec6f6a81b75","user":{"login":"10gen","id":15374,"avatar_url":"https://avatars.githubusercontent.com/u/15374?v=3","gravatar_id":"","url":"https://api.github.com/users/10gen","html_url":"https://github.com/10gen","followers_url":"https://api.github.com/users/10gen/followers","following_url":"https://api.github.com/users/10gen/following{/other_user}","gists_url":"https://api.github.com/users/10gen/gists{/gist_id}","starred_url":"https://api.github.com/users/10gen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10gen/subscriptions","organizations_url":"https://api.github.com/users/10gen/orgs","repos_url":"https://api.github.com/users/10gen/repos","events_url":"https://api.github.com/users/10gen/events{/privacy}","received_events_url":"https://api.github.com/users/10gen/received_events","type":"Organization","site_admin":false},"repo":{"id":5983344,"name":"mongo-orchestration","full_name":"10gen/mongo-orchestration","owner":{"login":"10gen","id":15374,"avatar_url":"https://avatars.githubusercontent.com/u/15374?v=3","gravatar_id":"","url":"https://api.github.com/users/10gen","html_url":"https://github.com/10gen","followers_url":"https://api.github.com/users/10gen/followers","following_url":"https://api.github.com/users/10gen/following{/other_user}","gists_url":"https://api.github.com/users/10gen/gists{/gist_id}","starred_url":"https://api.github.com/users/10gen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10gen/subscriptions","organizations_url":"https://api.github.com/users/10gen/orgs","repos_url":"https://api.github.com/users/10gen/repos","events_url":"https://api.github.com/users/10gen/events{/privacy}","received_events_url":"https://api.github.com/users/10gen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/10gen/mongo-orchestration","description":"","fork":false,"url":"https://api.github.com/repos/10gen/mongo-orchestration","forks_url":"https://api.github.com/repos/10gen/mongo-orchestration/forks","keys_url":"https://api.github.com/repos/10gen/mongo-orchestration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/10gen/mongo-orchestration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/10gen/mongo-orchestration/teams","hooks_url":"https://api.github.com/repos/10gen/mongo-orchestration/hooks","issue_events_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues/events{/number}","events_url":"https://api.github.com/repos/10gen/mongo-orchestration/events","assignees_url":"https://api.github.com/repos/10gen/mongo-orchestration/assignees{/user}","branches_url":"https://api.github.com/repos/10gen/mongo-orchestration/branches{/branch}","tags_url":"https://api.github.com/repos/10gen/mongo-orchestration/tags","blobs_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/refs{/sha}","trees_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/10gen/mongo-orchestration/statuses/{sha}","languages_url":"https://api.github.com/repos/10gen/mongo-orchestration/languages","stargazers_url":"https://api.github.com/repos/10gen/mongo-orchestration/stargazers","contributors_url":"https://api.github.com/repos/10gen/mongo-orchestration/contributors","subscribers_url":"https://api.github.com/repos/10gen/mongo-orchestration/subscribers","subscription_url":"https://api.github.com/repos/10gen/mongo-orchestration/subscription","commits_url":"https://api.github.com/repos/10gen/mongo-orchestration/commits{/sha}","git_commits_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/commits{/sha}","comments_url":"https://api.github.com/repos/10gen/mongo-orchestration/comments{/number}","issue_comment_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues/comments{/number}","contents_url":"https://api.github.com/repos/10gen/mongo-orchestration/contents/{+path}","compare_url":"https://api.github.com/repos/10gen/mongo-orchestration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/10gen/mongo-orchestration/merges","archive_url":"https://api.github.com/repos/10gen/mongo-orchestration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/10gen/mongo-orchestration/downloads","issues_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues{/number}","pulls_url":"https://api.github.com/repos/10gen/mongo-orchestration/pulls{/number}","milestones_url":"https://api.github.com/repos/10gen/mongo-orchestration/milestones{/number}","notifications_url":"https://api.github.com/repos/10gen/mongo-orchestration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/10gen/mongo-orchestration/labels{/name}","releases_url":"https://api.github.com/repos/10gen/mongo-orchestration/releases{/id}","deployments_url":"https://api.github.com/repos/10gen/mongo-orchestration/deployments","created_at":"2012-09-27T14:18:02Z","updated_at":"2016-04-08T03:22:23Z","pushed_at":"2016-05-25T21:39:33Z","git_url":"git://github.com/10gen/mongo-orchestration.git","ssh_url":"git@github.com:10gen/mongo-orchestration.git","clone_url":"https://github.com/10gen/mongo-orchestration.git","svn_url":"https://github.com/10gen/mongo-orchestration","homepage":null,"size":844,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":32,"default_branch":"master"}},"base":{"label":"10gen:master","ref":"master","sha":"105b3601dbfa5b719cf4a25be1fc0c9f4e100938","user":{"login":"10gen","id":15374,"avatar_url":"https://avatars.githubusercontent.com/u/15374?v=3","gravatar_id":"","url":"https://api.github.com/users/10gen","html_url":"https://github.com/10gen","followers_url":"https://api.github.com/users/10gen/followers","following_url":"https://api.github.com/users/10gen/following{/other_user}","gists_url":"https://api.github.com/users/10gen/gists{/gist_id}","starred_url":"https://api.github.com/users/10gen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10gen/subscriptions","organizations_url":"https://api.github.com/users/10gen/orgs","repos_url":"https://api.github.com/users/10gen/repos","events_url":"https://api.github.com/users/10gen/events{/privacy}","received_events_url":"https://api.github.com/users/10gen/received_events","type":"Organization","site_admin":false},"repo":{"id":5983344,"name":"mongo-orchestration","full_name":"10gen/mongo-orchestration","owner":{"login":"10gen","id":15374,"avatar_url":"https://avatars.githubusercontent.com/u/15374?v=3","gravatar_id":"","url":"https://api.github.com/users/10gen","html_url":"https://github.com/10gen","followers_url":"https://api.github.com/users/10gen/followers","following_url":"https://api.github.com/users/10gen/following{/other_user}","gists_url":"https://api.github.com/users/10gen/gists{/gist_id}","starred_url":"https://api.github.com/users/10gen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/10gen/subscriptions","organizations_url":"https://api.github.com/users/10gen/orgs","repos_url":"https://api.github.com/users/10gen/repos","events_url":"https://api.github.com/users/10gen/events{/privacy}","received_events_url":"https://api.github.com/users/10gen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/10gen/mongo-orchestration","description":"","fork":false,"url":"https://api.github.com/repos/10gen/mongo-orchestration","forks_url":"https://api.github.com/repos/10gen/mongo-orchestration/forks","keys_url":"https://api.github.com/repos/10gen/mongo-orchestration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/10gen/mongo-orchestration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/10gen/mongo-orchestration/teams","hooks_url":"https://api.github.com/repos/10gen/mongo-orchestration/hooks","issue_events_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues/events{/number}","events_url":"https://api.github.com/repos/10gen/mongo-orchestration/events","assignees_url":"https://api.github.com/repos/10gen/mongo-orchestration/assignees{/user}","branches_url":"https://api.github.com/repos/10gen/mongo-orchestration/branches{/branch}","tags_url":"https://api.github.com/repos/10gen/mongo-orchestration/tags","blobs_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/refs{/sha}","trees_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/10gen/mongo-orchestration/statuses/{sha}","languages_url":"https://api.github.com/repos/10gen/mongo-orchestration/languages","stargazers_url":"https://api.github.com/repos/10gen/mongo-orchestration/stargazers","contributors_url":"https://api.github.com/repos/10gen/mongo-orchestration/contributors","subscribers_url":"https://api.github.com/repos/10gen/mongo-orchestration/subscribers","subscription_url":"https://api.github.com/repos/10gen/mongo-orchestration/subscription","commits_url":"https://api.github.com/repos/10gen/mongo-orchestration/commits{/sha}","git_commits_url":"https://api.github.com/repos/10gen/mongo-orchestration/git/commits{/sha}","comments_url":"https://api.github.com/repos/10gen/mongo-orchestration/comments{/number}","issue_comment_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues/comments{/number}","contents_url":"https://api.github.com/repos/10gen/mongo-orchestration/contents/{+path}","compare_url":"https://api.github.com/repos/10gen/mongo-orchestration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/10gen/mongo-orchestration/merges","archive_url":"https://api.github.com/repos/10gen/mongo-orchestration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/10gen/mongo-orchestration/downloads","issues_url":"https://api.github.com/repos/10gen/mongo-orchestration/issues{/number}","pulls_url":"https://api.github.com/repos/10gen/mongo-orchestration/pulls{/number}","milestones_url":"https://api.github.com/repos/10gen/mongo-orchestration/milestones{/number}","notifications_url":"https://api.github.com/repos/10gen/mongo-orchestration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/10gen/mongo-orchestration/labels{/name}","releases_url":"https://api.github.com/repos/10gen/mongo-orchestration/releases{/id}","deployments_url":"https://api.github.com/repos/10gen/mongo-orchestration/deployments","created_at":"2012-09-27T14:18:02Z","updated_at":"2016-04-08T03:22:23Z","pushed_at":"2016-05-25T21:39:33Z","git_url":"git://github.com/10gen/mongo-orchestration.git","ssh_url":"git@github.com:10gen/mongo-orchestration.git","clone_url":"https://github.com/10gen/mongo-orchestration.git","svn_url":"https://github.com/10gen/mongo-orchestration","homepage":null,"size":844,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/212"},"html":{"href":"https://github.com/10gen/mongo-orchestration/pull/212"},"issue":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/issues/212"},"comments":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/10gen/mongo-orchestration/statuses/7aca01cccfd43945156189393d6a7ec6f6a81b75"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ajdavis"}}