{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/issues/57","repository_url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl","labels_url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/issues/57/comments","events_url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/issues/57/events","html_url":"https://github.com/JuliaLang/PackageCompiler.jl/pull/57","id":320536469,"number":57,"title":"Set PROGRAM_FILE global via `argv[0]`.","user":{"login":"NHDaly","id":1582097,"avatar_url":"https://avatars2.githubusercontent.com/u/1582097?v=4","gravatar_id":"","url":"https://api.github.com/users/NHDaly","html_url":"https://github.com/NHDaly","followers_url":"https://api.github.com/users/NHDaly/followers","following_url":"https://api.github.com/users/NHDaly/following{/other_user}","gists_url":"https://api.github.com/users/NHDaly/gists{/gist_id}","starred_url":"https://api.github.com/users/NHDaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NHDaly/subscriptions","organizations_url":"https://api.github.com/users/NHDaly/orgs","repos_url":"https://api.github.com/users/NHDaly/repos","events_url":"https://api.github.com/users/NHDaly/events{/privacy}","received_events_url":"https://api.github.com/users/NHDaly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-05T19:45:53Z","updated_at":"2018-05-16T15:01:46Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/pulls/57","html_url":"https://github.com/JuliaLang/PackageCompiler.jl/pull/57","diff_url":"https://github.com/JuliaLang/PackageCompiler.jl/pull/57.diff","patch_url":"https://github.com/JuliaLang/PackageCompiler.jl/pull/57.patch"},"body":"Changes default `program.c` to manually set `PROGRAM_FILE` via its `argv[0]`.\r\n\r\nIdeally, I think we would also set global `ARGS`, in the same way the julia interpreter does, but I still haven't figured out how to get that to work.\r\n\r\nFor #54."},"comment":{"url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/issues/comments/389551245","html_url":"https://github.com/JuliaLang/PackageCompiler.jl/pull/57#issuecomment-389551245","issue_url":"https://api.github.com/repos/JuliaLang/PackageCompiler.jl/issues/57","id":389551245,"user":{"login":"ihnorton","id":327706,"avatar_url":"https://avatars1.githubusercontent.com/u/327706?v=4","gravatar_id":"","url":"https://api.github.com/users/ihnorton","html_url":"https://github.com/ihnorton","followers_url":"https://api.github.com/users/ihnorton/followers","following_url":"https://api.github.com/users/ihnorton/following{/other_user}","gists_url":"https://api.github.com/users/ihnorton/gists{/gist_id}","starred_url":"https://api.github.com/users/ihnorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihnorton/subscriptions","organizations_url":"https://api.github.com/users/ihnorton/orgs","repos_url":"https://api.github.com/users/ihnorton/repos","events_url":"https://api.github.com/users/ihnorton/events{/privacy}","received_events_url":"https://api.github.com/users/ihnorton/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T15:01:46Z","updated_at":"2018-05-16T15:01:46Z","author_association":"MEMBER","body":"Note that the assignment block in `jl_set_ARGS` is only executed if `jl_core_module` is initialized (`jl_core_module != NULL`). I don't know much about the structure of this package, but from a quick glance at program.c, I don't see any explicit initialization of that variable."}}
{"actor":{"display_login":"ihnorton"}}