{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/process/issues/61","repository_url":"https://api.github.com/repos/boostorg/process","labels_url":"https://api.github.com/repos/boostorg/process/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/process/issues/61/comments","events_url":"https://api.github.com/repos/boostorg/process/issues/61/events","html_url":"https://github.com/boostorg/process/issues/61","id":393029834,"node_id":"MDU6SXNzdWUzOTMwMjk4MzQ=","number":61,"title":"calling code can't determine if normel exit or signaled","user":{"login":"olk","id":914496,"node_id":"MDQ6VXNlcjkxNDQ5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/914496?v=4","gravatar_id":"","url":"https://api.github.com/users/olk","html_url":"https://github.com/olk","followers_url":"https://api.github.com/users/olk/followers","following_url":"https://api.github.com/users/olk/following{/other_user}","gists_url":"https://api.github.com/users/olk/gists{/gist_id}","starred_url":"https://api.github.com/users/olk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olk/subscriptions","organizations_url":"https://api.github.com/users/olk/orgs","repos_url":"https://api.github.com/users/olk/repos","events_url":"https://api.github.com/users/olk/events{/privacy}","received_events_url":"https://api.github.com/users/olk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-20T12:40:09Z","updated_at":"2018-12-20T13:17:33Z","closed_at":null,"author_association":"MEMBER","body":"child::exit_code() evaluates WIFEXITED and WIFSIGNALED. Depending on that child::exit_code() returns WEXITSTATUS or WTERMSIG (see boost::process::detail::posix::eval_exit_status()).\r\nFor code calling child::exit_code() it is not possible to determine if the returned value of `9` means that the forked process returned normally with exit-code `9` or the forked process was killed by SIGKILL (9 on Linux).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/boostorg/process/issues/comments/448996650","html_url":"https://github.com/boostorg/process/issues/61#issuecomment-448996650","issue_url":"https://api.github.com/repos/boostorg/process/issues/61","id":448996650,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk5NjY1MA==","user":{"login":"klemens-morgenstern","id":8020376,"node_id":"MDQ6VXNlcjgwMjAzNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/8020376?v=4","gravatar_id":"","url":"https://api.github.com/users/klemens-morgenstern","html_url":"https://github.com/klemens-morgenstern","followers_url":"https://api.github.com/users/klemens-morgenstern/followers","following_url":"https://api.github.com/users/klemens-morgenstern/following{/other_user}","gists_url":"https://api.github.com/users/klemens-morgenstern/gists{/gist_id}","starred_url":"https://api.github.com/users/klemens-morgenstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klemens-morgenstern/subscriptions","organizations_url":"https://api.github.com/users/klemens-morgenstern/orgs","repos_url":"https://api.github.com/users/klemens-morgenstern/repos","events_url":"https://api.github.com/users/klemens-morgenstern/events{/privacy}","received_events_url":"https://api.github.com/users/klemens-morgenstern/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T13:17:33Z","updated_at":"2018-12-20T13:17:33Z","author_association":"COLLABORATOR","body":"A function for that is in the develop-branch, where you can call `native_exit_code` to obtain the unevaluated exit-code. I'll have that in the master for the next release cycle.\r\n\r\nI don't think having that information included in the value returned by `exit_code()` would be the right choice, since that would be inconsistent with windows."}}
{"actor":{"display_login":"klemens-morgenstern"}}