{"action":"created","issue":{"url":"https://api.github.com/repos/cfengine/core/issues/2081","labels_url":"https://api.github.com/repos/cfengine/core/issues/2081/labels{/name}","comments_url":"https://api.github.com/repos/cfengine/core/issues/2081/comments","events_url":"https://api.github.com/repos/cfengine/core/issues/2081/events","html_url":"https://github.com/cfengine/core/pull/2081","id":53514802,"number":2081,"title":"Make backgrounding in tests easier by introducing no_fds command.","user":{"login":"kacfengine","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacfengine","html_url":"https://github.com/kacfengine","followers_url":"https://api.github.com/users/kacfengine/followers","following_url":"https://api.github.com/users/kacfengine/following{/other_user}","gists_url":"https://api.github.com/users/kacfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/kacfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacfengine/subscriptions","organizations_url":"https://api.github.com/users/kacfengine/orgs","repos_url":"https://api.github.com/users/kacfengine/repos","events_url":"https://api.github.com/users/kacfengine/events{/privacy}","received_events_url":"https://api.github.com/users/kacfengine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kacfengine","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacfengine","html_url":"https://github.com/kacfengine","followers_url":"https://api.github.com/users/kacfengine/followers","following_url":"https://api.github.com/users/kacfengine/following{/other_user}","gists_url":"https://api.github.com/users/kacfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/kacfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacfengine/subscriptions","organizations_url":"https://api.github.com/users/kacfengine/orgs","repos_url":"https://api.github.com/users/kacfengine/repos","events_url":"https://api.github.com/users/kacfengine/events{/privacy}","received_events_url":"https://api.github.com/users/kacfengine/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-01-06T13:32:13Z","updated_at":"2015-04-15T05:59:09Z","closed_at":"2015-04-15T05:59:02Z","pull_request":{"url":"https://api.github.com/repos/cfengine/core/pulls/2081","html_url":"https://github.com/cfengine/core/pull/2081","diff_url":"https://github.com/cfengine/core/pull/2081.diff","patch_url":"https://github.com/cfengine/core/pull/2081.patch"},"body":"The problem is that we don't know which file descriptors have been\r\nopened behind our back, and most will be inherited by the new process.\r\nThe original process or its parent may then hang because some file\r\ndescriptor is still open, even though we didn't intend that. The\r\nFD_CLOEXEC mechanism is not very helpful for descriptors we don't own,\r\nso use the closefrom call to close all the descriptors we don't need\r\nin the new process instead."},"comment":{"url":"https://api.github.com/repos/cfengine/core/issues/comments/93206724","html_url":"https://github.com/cfengine/core/pull/2081#issuecomment-93206724","issue_url":"https://api.github.com/repos/cfengine/core/issues/2081","id":93206724,"user":{"login":"kacfengine","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacfengine","html_url":"https://github.com/kacfengine","followers_url":"https://api.github.com/users/kacfengine/followers","following_url":"https://api.github.com/users/kacfengine/following{/other_user}","gists_url":"https://api.github.com/users/kacfengine/gists{/gist_id}","starred_url":"https://api.github.com/users/kacfengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacfengine/subscriptions","organizations_url":"https://api.github.com/users/kacfengine/orgs","repos_url":"https://api.github.com/users/kacfengine/repos","events_url":"https://api.github.com/users/kacfengine/events{/privacy}","received_events_url":"https://api.github.com/users/kacfengine/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T05:59:09Z","updated_at":"2015-04-15T05:59:09Z","body":"Finally!"}}