{"action":"created","issue":{"url":"https://api.github.com/repos/testppl/charmtest/issues/1","repository_url":"https://api.github.com/repos/testppl/charmtest","labels_url":"https://api.github.com/repos/testppl/charmtest/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/testppl/charmtest/issues/1/comments","events_url":"https://api.github.com/repos/testppl/charmtest/issues/1/events","html_url":"https://github.com/testppl/charmtest/issues/1","id":334182997,"node_id":"MDU6SXNzdWUzMzQxODI5OTc=","number":1,"title":"Allow exit codes in CkExit() / ConverseExit()","user":{"login":"matthiasdiener","id":1772435,"node_id":"MDQ6VXNlcjE3NzI0MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1772435?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasdiener","html_url":"https://github.com/matthiasdiener","followers_url":"https://api.github.com/users/matthiasdiener/followers","following_url":"https://api.github.com/users/matthiasdiener/following{/other_user}","gists_url":"https://api.github.com/users/matthiasdiener/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasdiener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasdiener/subscriptions","organizations_url":"https://api.github.com/users/matthiasdiener/orgs","repos_url":"https://api.github.com/users/matthiasdiener/repos","events_url":"https://api.github.com/users/matthiasdiener/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasdiener/received_events","type":"User","site_admin":false},"labels":[{"id":970452340,"node_id":"MDU6TGFiZWw5NzA0NTIzNDA=","url":"https://api.github.com/repos/testppl/charmtest/labels/feature","name":"feature","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"matthiasdiener","id":1772435,"node_id":"MDQ6VXNlcjE3NzI0MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1772435?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasdiener","html_url":"https://github.com/matthiasdiener","followers_url":"https://api.github.com/users/matthiasdiener/followers","following_url":"https://api.github.com/users/matthiasdiener/following{/other_user}","gists_url":"https://api.github.com/users/matthiasdiener/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasdiener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasdiener/subscriptions","organizations_url":"https://api.github.com/users/matthiasdiener/orgs","repos_url":"https://api.github.com/users/matthiasdiener/repos","events_url":"https://api.github.com/users/matthiasdiener/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasdiener/received_events","type":"User","site_admin":false},"assignees":[{"login":"matthiasdiener","id":1772435,"node_id":"MDQ6VXNlcjE3NzI0MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1772435?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasdiener","html_url":"https://github.com/matthiasdiener","followers_url":"https://api.github.com/users/matthiasdiener/followers","following_url":"https://api.github.com/users/matthiasdiener/following{/other_user}","gists_url":"https://api.github.com/users/matthiasdiener/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasdiener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasdiener/subscriptions","organizations_url":"https://api.github.com/users/matthiasdiener/orgs","repos_url":"https://api.github.com/users/matthiasdiener/repos","events_url":"https://api.github.com/users/matthiasdiener/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasdiener/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-06-04T19:17:15Z","updated_at":"2018-06-20T17:39:58Z","closed_at":null,"author_association":"NONE","body":"Currently, CkExit() and CkAbort() do not allow passing a custom exit code to the calling shell, making it necessary to use workarounds such as https://charm.cs.illinois.edu/gerrit/#/c/2556/ in order to inform the user.\r\nIt would be nice to have this functionality.\r\nCare must be taken since \r\n1.  The method signature should no the changed. CkExit() is currently extern \"C\" 'ed, so an optional parameter is not possible.\r\n1. In case multiple PEs call CkExit(), which exit code is reported?"},"comment":{"url":"https://api.github.com/repos/testppl/charmtest/issues/comments/398835895","html_url":"https://github.com/testppl/charmtest/issues/1#issuecomment-398835895","issue_url":"https://api.github.com/repos/testppl/charmtest/issues/1","id":398835895,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODgzNTg5NQ==","user":{"login":"matthiasdiener","id":1772435,"node_id":"MDQ6VXNlcjE3NzI0MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1772435?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasdiener","html_url":"https://github.com/matthiasdiener","followers_url":"https://api.github.com/users/matthiasdiener/followers","following_url":"https://api.github.com/users/matthiasdiener/following{/other_user}","gists_url":"https://api.github.com/users/matthiasdiener/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasdiener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasdiener/subscriptions","organizations_url":"https://api.github.com/users/matthiasdiener/orgs","repos_url":"https://api.github.com/users/matthiasdiener/repos","events_url":"https://api.github.com/users/matthiasdiener/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasdiener/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T17:39:58Z","updated_at":"2018-06-20T17:39:58Z","author_association":"NONE","body":"*Original date: 2018-05-22 21:03:44*\n\n---\nAnother option would be to always require an exit code for CkExit() (like exit() does), and to change all existing code."}}
{"actor":{"display_login":"matthiasdiener"}}