{"action":"opened","number":462,"pull_request":{"url":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/462","id":56886496,"html_url":"https://github.com/drzoidberg33/plexpy/pull/462","diff_url":"https://github.com/drzoidberg33/plexpy/pull/462.diff","patch_url":"https://github.com/drzoidberg33/plexpy/pull/462.patch","issue_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/462","number":462,"state":"open","locked":false,"title":"Use os.execv instead of subprocess.Popen to restart the process","user":{"login":"jackwilsdon","id":1843197,"avatar_url":"https://avatars.githubusercontent.com/u/1843197?v=3","gravatar_id":"","url":"https://api.github.com/users/jackwilsdon","html_url":"https://github.com/jackwilsdon","followers_url":"https://api.github.com/users/jackwilsdon/followers","following_url":"https://api.github.com/users/jackwilsdon/following{/other_user}","gists_url":"https://api.github.com/users/jackwilsdon/gists{/gist_id}","starred_url":"https://api.github.com/users/jackwilsdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackwilsdon/subscriptions","organizations_url":"https://api.github.com/users/jackwilsdon/orgs","repos_url":"https://api.github.com/users/jackwilsdon/repos","events_url":"https://api.github.com/users/jackwilsdon/events{/privacy}","received_events_url":"https://api.github.com/users/jackwilsdon/received_events","type":"User","site_admin":false},"body":"This PR is the same as #461 except I moved it to the `dev` branch.\r\n\r\nI also changed the restart message to just use the raw argument list again, as it did previously.\r\n\r\nThis fixes #460.","created_at":"2016-01-22T13:21:09Z","updated_at":"2016-01-22T13:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0087883b7f7e51dad5a130c573b4a79713746b2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/462/commits","review_comments_url":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/462/comments","review_comment_url":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/462/comments","statuses_url":"https://api.github.com/repos/drzoidberg33/plexpy/statuses/ed52038bc49d484fbd8f828d6c8008a5fdb52a8a","head":{"label":"jackwilsdon:fix-restart-dev","ref":"fix-restart-dev","sha":"ed52038bc49d484fbd8f828d6c8008a5fdb52a8a","user":{"login":"jackwilsdon","id":1843197,"avatar_url":"https://avatars.githubusercontent.com/u/1843197?v=3","gravatar_id":"","url":"https://api.github.com/users/jackwilsdon","html_url":"https://github.com/jackwilsdon","followers_url":"https://api.github.com/users/jackwilsdon/followers","following_url":"https://api.github.com/users/jackwilsdon/following{/other_user}","gists_url":"https://api.github.com/users/jackwilsdon/gists{/gist_id}","starred_url":"https://api.github.com/users/jackwilsdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackwilsdon/subscriptions","organizations_url":"https://api.github.com/users/jackwilsdon/orgs","repos_url":"https://api.github.com/users/jackwilsdon/repos","events_url":"https://api.github.com/users/jackwilsdon/events{/privacy}","received_events_url":"https://api.github.com/users/jackwilsdon/received_events","type":"User","site_admin":false},"repo":{"id":50159400,"name":"plexpy","full_name":"jackwilsdon/plexpy","owner":{"login":"jackwilsdon","id":1843197,"avatar_url":"https://avatars.githubusercontent.com/u/1843197?v=3","gravatar_id":"","url":"https://api.github.com/users/jackwilsdon","html_url":"https://github.com/jackwilsdon","followers_url":"https://api.github.com/users/jackwilsdon/followers","following_url":"https://api.github.com/users/jackwilsdon/following{/other_user}","gists_url":"https://api.github.com/users/jackwilsdon/gists{/gist_id}","starred_url":"https://api.github.com/users/jackwilsdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackwilsdon/subscriptions","organizations_url":"https://api.github.com/users/jackwilsdon/orgs","repos_url":"https://api.github.com/users/jackwilsdon/repos","events_url":"https://api.github.com/users/jackwilsdon/events{/privacy}","received_events_url":"https://api.github.com/users/jackwilsdon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackwilsdon/plexpy","description":"A Python based monitoring and tracking tool for Plex Media Server.","fork":true,"url":"https://api.github.com/repos/jackwilsdon/plexpy","forks_url":"https://api.github.com/repos/jackwilsdon/plexpy/forks","keys_url":"https://api.github.com/repos/jackwilsdon/plexpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackwilsdon/plexpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackwilsdon/plexpy/teams","hooks_url":"https://api.github.com/repos/jackwilsdon/plexpy/hooks","issue_events_url":"https://api.github.com/repos/jackwilsdon/plexpy/issues/events{/number}","events_url":"https://api.github.com/repos/jackwilsdon/plexpy/events","assignees_url":"https://api.github.com/repos/jackwilsdon/plexpy/assignees{/user}","branches_url":"https://api.github.com/repos/jackwilsdon/plexpy/branches{/branch}","tags_url":"https://api.github.com/repos/jackwilsdon/plexpy/tags","blobs_url":"https://api.github.com/repos/jackwilsdon/plexpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackwilsdon/plexpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackwilsdon/plexpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackwilsdon/plexpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackwilsdon/plexpy/statuses/{sha}","languages_url":"https://api.github.com/repos/jackwilsdon/plexpy/languages","stargazers_url":"https://api.github.com/repos/jackwilsdon/plexpy/stargazers","contributors_url":"https://api.github.com/repos/jackwilsdon/plexpy/contributors","subscribers_url":"https://api.github.com/repos/jackwilsdon/plexpy/subscribers","subscription_url":"https://api.github.com/repos/jackwilsdon/plexpy/subscription","commits_url":"https://api.github.com/repos/jackwilsdon/plexpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackwilsdon/plexpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackwilsdon/plexpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackwilsdon/plexpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackwilsdon/plexpy/contents/{+path}","compare_url":"https://api.github.com/repos/jackwilsdon/plexpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackwilsdon/plexpy/merges","archive_url":"https://api.github.com/repos/jackwilsdon/plexpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackwilsdon/plexpy/downloads","issues_url":"https://api.github.com/repos/jackwilsdon/plexpy/issues{/number}","pulls_url":"https://api.github.com/repos/jackwilsdon/plexpy/pulls{/number}","milestones_url":"https://api.github.com/repos/jackwilsdon/plexpy/milestones{/number}","notifications_url":"https://api.github.com/repos/jackwilsdon/plexpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackwilsdon/plexpy/labels{/name}","releases_url":"https://api.github.com/repos/jackwilsdon/plexpy/releases{/id}","deployments_url":"https://api.github.com/repos/jackwilsdon/plexpy/deployments","created_at":"2016-01-22T05:18:15Z","updated_at":"2016-01-22T05:18:17Z","pushed_at":"2016-01-22T13:20:02Z","git_url":"git://github.com/jackwilsdon/plexpy.git","ssh_url":"git@github.com:jackwilsdon/plexpy.git","clone_url":"https://github.com/jackwilsdon/plexpy.git","svn_url":"https://github.com/jackwilsdon/plexpy","homepage":"","size":43584,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"drzoidberg33:dev","ref":"dev","sha":"ee125dfadc6c4b2a3237db8c1abe6ab35ae9f556","user":{"login":"drzoidberg33","id":1313205,"avatar_url":"https://avatars.githubusercontent.com/u/1313205?v=3","gravatar_id":"","url":"https://api.github.com/users/drzoidberg33","html_url":"https://github.com/drzoidberg33","followers_url":"https://api.github.com/users/drzoidberg33/followers","following_url":"https://api.github.com/users/drzoidberg33/following{/other_user}","gists_url":"https://api.github.com/users/drzoidberg33/gists{/gist_id}","starred_url":"https://api.github.com/users/drzoidberg33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drzoidberg33/subscriptions","organizations_url":"https://api.github.com/users/drzoidberg33/orgs","repos_url":"https://api.github.com/users/drzoidberg33/repos","events_url":"https://api.github.com/users/drzoidberg33/events{/privacy}","received_events_url":"https://api.github.com/users/drzoidberg33/received_events","type":"User","site_admin":false},"repo":{"id":31169720,"name":"plexpy","full_name":"drzoidberg33/plexpy","owner":{"login":"drzoidberg33","id":1313205,"avatar_url":"https://avatars.githubusercontent.com/u/1313205?v=3","gravatar_id":"","url":"https://api.github.com/users/drzoidberg33","html_url":"https://github.com/drzoidberg33","followers_url":"https://api.github.com/users/drzoidberg33/followers","following_url":"https://api.github.com/users/drzoidberg33/following{/other_user}","gists_url":"https://api.github.com/users/drzoidberg33/gists{/gist_id}","starred_url":"https://api.github.com/users/drzoidberg33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drzoidberg33/subscriptions","organizations_url":"https://api.github.com/users/drzoidberg33/orgs","repos_url":"https://api.github.com/users/drzoidberg33/repos","events_url":"https://api.github.com/users/drzoidberg33/events{/privacy}","received_events_url":"https://api.github.com/users/drzoidberg33/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drzoidberg33/plexpy","description":"A Python based monitoring and tracking tool for Plex Media Server.","fork":false,"url":"https://api.github.com/repos/drzoidberg33/plexpy","forks_url":"https://api.github.com/repos/drzoidberg33/plexpy/forks","keys_url":"https://api.github.com/repos/drzoidberg33/plexpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drzoidberg33/plexpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drzoidberg33/plexpy/teams","hooks_url":"https://api.github.com/repos/drzoidberg33/plexpy/hooks","issue_events_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/events{/number}","events_url":"https://api.github.com/repos/drzoidberg33/plexpy/events","assignees_url":"https://api.github.com/repos/drzoidberg33/plexpy/assignees{/user}","branches_url":"https://api.github.com/repos/drzoidberg33/plexpy/branches{/branch}","tags_url":"https://api.github.com/repos/drzoidberg33/plexpy/tags","blobs_url":"https://api.github.com/repos/drzoidberg33/plexpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drzoidberg33/plexpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drzoidberg33/plexpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/drzoidberg33/plexpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drzoidberg33/plexpy/statuses/{sha}","languages_url":"https://api.github.com/repos/drzoidberg33/plexpy/languages","stargazers_url":"https://api.github.com/repos/drzoidberg33/plexpy/stargazers","contributors_url":"https://api.github.com/repos/drzoidberg33/plexpy/contributors","subscribers_url":"https://api.github.com/repos/drzoidberg33/plexpy/subscribers","subscription_url":"https://api.github.com/repos/drzoidberg33/plexpy/subscription","commits_url":"https://api.github.com/repos/drzoidberg33/plexpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/drzoidberg33/plexpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/drzoidberg33/plexpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/drzoidberg33/plexpy/contents/{+path}","compare_url":"https://api.github.com/repos/drzoidberg33/plexpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drzoidberg33/plexpy/merges","archive_url":"https://api.github.com/repos/drzoidberg33/plexpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drzoidberg33/plexpy/downloads","issues_url":"https://api.github.com/repos/drzoidberg33/plexpy/issues{/number}","pulls_url":"https://api.github.com/repos/drzoidberg33/plexpy/pulls{/number}","milestones_url":"https://api.github.com/repos/drzoidberg33/plexpy/milestones{/number}","notifications_url":"https://api.github.com/repos/drzoidberg33/plexpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drzoidberg33/plexpy/labels{/name}","releases_url":"https://api.github.com/repos/drzoidberg33/plexpy/releases{/id}","deployments_url":"https://api.github.com/repos/drzoidberg33/plexpy/deployments","created_at":"2015-02-22T16:36:06Z","updated_at":"2016-01-21T21:58:33Z","pushed_at":"2016-01-22T13:21:11Z","git_url":"git://github.com/drzoidberg33/plexpy.git","ssh_url":"git@github.com:drzoidberg33/plexpy.git","clone_url":"https://github.com/drzoidberg33/plexpy.git","svn_url":"https://github.com/drzoidberg33/plexpy","homepage":"","size":72935,"stargazers_count":365,"watchers_count":365,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":94,"forks":65,"open_issues":94,"watchers":365,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/462"},"html":{"href":"https://github.com/drzoidberg33/plexpy/pull/462"},"issue":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/issues/462"},"comments":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/issues/462/comments"},"review_comments":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/462/comments"},"review_comment":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/pulls/462/commits"},"statuses":{"href":"https://api.github.com/repos/drzoidberg33/plexpy/statuses/ed52038bc49d484fbd8f828d6c8008a5fdb52a8a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":6,"changed_files":1}}