{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/2","id":51747830,"html_url":"https://github.com/MarcWeber/vim-addon-background-cmd/pull/2","diff_url":"https://github.com/MarcWeber/vim-addon-background-cmd/pull/2.diff","patch_url":"https://github.com/MarcWeber/vim-addon-background-cmd/pull/2.patch","issue_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues/2","number":2,"state":"closed","locked":false,"title":"Adding try-catch to STARTUPINFO()","user":{"login":"thethirduniverse","id":10082143,"avatar_url":"https://avatars.githubusercontent.com/u/10082143?v=3","gravatar_id":"","url":"https://api.github.com/users/thethirduniverse","html_url":"https://github.com/thethirduniverse","followers_url":"https://api.github.com/users/thethirduniverse/followers","following_url":"https://api.github.com/users/thethirduniverse/following{/other_user}","gists_url":"https://api.github.com/users/thethirduniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/thethirduniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thethirduniverse/subscriptions","organizations_url":"https://api.github.com/users/thethirduniverse/orgs","repos_url":"https://api.github.com/users/thethirduniverse/repos","events_url":"https://api.github.com/users/thethirduniverse/events{/privacy}","received_events_url":"https://api.github.com/users/thethirduniverse/received_events","type":"User","site_admin":false},"body":"On my computer (MacOS 10.10.5, python 2.7.10), subprocess module does not support STARTUPINFO. Adding try-catch prevents the code from crashing.\r\n\r\n```\r\n>>> import subprocess\r\n>>> subprocess.STARTUPINFO()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'STARTUPINFO'\r\n>>>\r\n```","created_at":"2015-11-25T03:13:27Z","updated_at":"2015-11-25T08:31:03Z","closed_at":"2015-11-25T08:31:03Z","merged_at":null,"merge_commit_sha":"c893e46f7b11ae0b3d1a157748184df5d676753c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/2/commits","review_comments_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/2/comments","review_comment_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues/2/comments","statuses_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/statuses/07827cc8b3f3e0a26a08fd508f4a5338eee18933","head":{"label":"thethirduniverse:master","ref":"master","sha":"07827cc8b3f3e0a26a08fd508f4a5338eee18933","user":{"login":"thethirduniverse","id":10082143,"avatar_url":"https://avatars.githubusercontent.com/u/10082143?v=3","gravatar_id":"","url":"https://api.github.com/users/thethirduniverse","html_url":"https://github.com/thethirduniverse","followers_url":"https://api.github.com/users/thethirduniverse/followers","following_url":"https://api.github.com/users/thethirduniverse/following{/other_user}","gists_url":"https://api.github.com/users/thethirduniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/thethirduniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thethirduniverse/subscriptions","organizations_url":"https://api.github.com/users/thethirduniverse/orgs","repos_url":"https://api.github.com/users/thethirduniverse/repos","events_url":"https://api.github.com/users/thethirduniverse/events{/privacy}","received_events_url":"https://api.github.com/users/thethirduniverse/received_events","type":"User","site_admin":false},"repo":{"id":46833799,"name":"vim-addon-background-cmd","full_name":"thethirduniverse/vim-addon-background-cmd","owner":{"login":"thethirduniverse","id":10082143,"avatar_url":"https://avatars.githubusercontent.com/u/10082143?v=3","gravatar_id":"","url":"https://api.github.com/users/thethirduniverse","html_url":"https://github.com/thethirduniverse","followers_url":"https://api.github.com/users/thethirduniverse/followers","following_url":"https://api.github.com/users/thethirduniverse/following{/other_user}","gists_url":"https://api.github.com/users/thethirduniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/thethirduniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thethirduniverse/subscriptions","organizations_url":"https://api.github.com/users/thethirduniverse/orgs","repos_url":"https://api.github.com/users/thethirduniverse/repos","events_url":"https://api.github.com/users/thethirduniverse/events{/privacy}","received_events_url":"https://api.github.com/users/thethirduniverse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thethirduniverse/vim-addon-background-cmd","description":"provide a way to run commands in background","fork":true,"url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd","forks_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/forks","keys_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/teams","hooks_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/hooks","issue_events_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/issues/events{/number}","events_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/events","assignees_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/assignees{/user}","branches_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/branches{/branch}","tags_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/tags","blobs_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/statuses/{sha}","languages_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/languages","stargazers_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/stargazers","contributors_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/contributors","subscribers_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/subscribers","subscription_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/subscription","commits_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/contents/{+path}","compare_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/merges","archive_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/downloads","issues_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/issues{/number}","pulls_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/pulls{/number}","milestones_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/milestones{/number}","notifications_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/labels{/name}","releases_url":"https://api.github.com/repos/thethirduniverse/vim-addon-background-cmd/releases{/id}","created_at":"2015-11-25T03:00:33Z","updated_at":"2015-11-25T03:00:34Z","pushed_at":"2015-11-25T03:12:09Z","git_url":"git://github.com/thethirduniverse/vim-addon-background-cmd.git","ssh_url":"git@github.com:thethirduniverse/vim-addon-background-cmd.git","clone_url":"https://github.com/thethirduniverse/vim-addon-background-cmd.git","svn_url":"https://github.com/thethirduniverse/vim-addon-background-cmd","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"VimL","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":"MarcWeber:master","ref":"master","sha":"e99076519139b959edce0581b0f31207a5ec7c64","user":{"login":"MarcWeber","id":34086,"avatar_url":"https://avatars.githubusercontent.com/u/34086?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcWeber","html_url":"https://github.com/MarcWeber","followers_url":"https://api.github.com/users/MarcWeber/followers","following_url":"https://api.github.com/users/MarcWeber/following{/other_user}","gists_url":"https://api.github.com/users/MarcWeber/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcWeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcWeber/subscriptions","organizations_url":"https://api.github.com/users/MarcWeber/orgs","repos_url":"https://api.github.com/users/MarcWeber/repos","events_url":"https://api.github.com/users/MarcWeber/events{/privacy}","received_events_url":"https://api.github.com/users/MarcWeber/received_events","type":"User","site_admin":false},"repo":{"id":479353,"name":"vim-addon-background-cmd","full_name":"MarcWeber/vim-addon-background-cmd","owner":{"login":"MarcWeber","id":34086,"avatar_url":"https://avatars.githubusercontent.com/u/34086?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcWeber","html_url":"https://github.com/MarcWeber","followers_url":"https://api.github.com/users/MarcWeber/followers","following_url":"https://api.github.com/users/MarcWeber/following{/other_user}","gists_url":"https://api.github.com/users/MarcWeber/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcWeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcWeber/subscriptions","organizations_url":"https://api.github.com/users/MarcWeber/orgs","repos_url":"https://api.github.com/users/MarcWeber/repos","events_url":"https://api.github.com/users/MarcWeber/events{/privacy}","received_events_url":"https://api.github.com/users/MarcWeber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarcWeber/vim-addon-background-cmd","description":"provide a way to run commands in background","fork":false,"url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd","forks_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/forks","keys_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/teams","hooks_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/hooks","issue_events_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues/events{/number}","events_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/events","assignees_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/assignees{/user}","branches_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/branches{/branch}","tags_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/tags","blobs_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/statuses/{sha}","languages_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/languages","stargazers_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/stargazers","contributors_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/contributors","subscribers_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/subscribers","subscription_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/subscription","commits_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/contents/{+path}","compare_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/merges","archive_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/downloads","issues_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues{/number}","pulls_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls{/number}","milestones_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/milestones{/number}","notifications_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/labels{/name}","releases_url":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/releases{/id}","created_at":"2010-01-19T19:09:16Z","updated_at":"2015-11-22T18:40:24Z","pushed_at":"2015-11-25T08:30:44Z","git_url":"git://github.com/MarcWeber/vim-addon-background-cmd.git","ssh_url":"git@github.com:MarcWeber/vim-addon-background-cmd.git","clone_url":"https://github.com/MarcWeber/vim-addon-background-cmd.git","svn_url":"https://github.com/MarcWeber/vim-addon-background-cmd","homepage":"","size":22,"stargazers_count":18,"watchers_count":18,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/2"},"html":{"href":"https://github.com/MarcWeber/vim-addon-background-cmd/pull/2"},"issue":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues/2"},"comments":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/MarcWeber/vim-addon-background-cmd/statuses/07827cc8b3f3e0a26a08fd508f4a5338eee18933"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":10,"deletions":6,"changed_files":1}}