{"action":"created","issue":{"url":"https://api.github.com/repos/gpakosz/whereami/issues/10","repository_url":"https://api.github.com/repos/gpakosz/whereami","labels_url":"https://api.github.com/repos/gpakosz/whereami/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/gpakosz/whereami/issues/10/comments","events_url":"https://api.github.com/repos/gpakosz/whereami/issues/10/events","html_url":"https://github.com/gpakosz/whereami/issues/10","id":240065432,"number":10,"title":"Fallbacks?","user":{"login":"Flamefire","id":309017,"avatar_url":"https://avatars1.githubusercontent.com/u/309017?v=3","gravatar_id":"","url":"https://api.github.com/users/Flamefire","html_url":"https://github.com/Flamefire","followers_url":"https://api.github.com/users/Flamefire/followers","following_url":"https://api.github.com/users/Flamefire/following{/other_user}","gists_url":"https://api.github.com/users/Flamefire/gists{/gist_id}","starred_url":"https://api.github.com/users/Flamefire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flamefire/subscriptions","organizations_url":"https://api.github.com/users/Flamefire/orgs","repos_url":"https://api.github.com/users/Flamefire/repos","events_url":"https://api.github.com/users/Flamefire/events{/privacy}","received_events_url":"https://api.github.com/users/Flamefire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-03T04:37:06Z","updated_at":"2017-07-03T05:38:27Z","closed_at":null,"body":"How about a fallback or is this guaranteed to work always? E.g. https://stackoverflow.com/a/34109000/1930508 provides a solution which uses `argv[0]` and the current path as an (educated) guess if the other method fail."},"comment":{"url":"https://api.github.com/repos/gpakosz/whereami/issues/comments/312553606","html_url":"https://github.com/gpakosz/whereami/issues/10#issuecomment-312553606","issue_url":"https://api.github.com/repos/gpakosz/whereami/issues/10","id":312553606,"user":{"login":"gpakosz","id":553208,"avatar_url":"https://avatars0.githubusercontent.com/u/553208?v=3","gravatar_id":"","url":"https://api.github.com/users/gpakosz","html_url":"https://github.com/gpakosz","followers_url":"https://api.github.com/users/gpakosz/followers","following_url":"https://api.github.com/users/gpakosz/following{/other_user}","gists_url":"https://api.github.com/users/gpakosz/gists{/gist_id}","starred_url":"https://api.github.com/users/gpakosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpakosz/subscriptions","organizations_url":"https://api.github.com/users/gpakosz/orgs","repos_url":"https://api.github.com/users/gpakosz/repos","events_url":"https://api.github.com/users/gpakosz/events{/privacy}","received_events_url":"https://api.github.com/users/gpakosz/received_events","type":"User","site_admin":false},"created_at":"2017-07-03T05:38:27Z","updated_at":"2017-07-03T05:38:27Z","body":"`argv[0]` is not reliable.\r\n\r\nThe link you mentioned only addresses current executable path, not current module path."}}
{"actor":{"display_login":"gpakosz"}}