{"action":"created","issue":{"url":"https://api.github.com/repos/vim-jp/issues/issues/839","repository_url":"https://api.github.com/repos/vim-jp/issues","labels_url":"https://api.github.com/repos/vim-jp/issues/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/vim-jp/issues/issues/839/comments","events_url":"https://api.github.com/repos/vim-jp/issues/issues/839/events","html_url":"https://github.com/vim-jp/issues/issues/839","id":136369421,"number":839,"title":"job-options の exit-cb ハンドラーが実行されるまでに10秒以上かかる場合がある","user":{"login":"tyru","id":48169,"avatar_url":"https://avatars.githubusercontent.com/u/48169?v=3","gravatar_id":"","url":"https://api.github.com/users/tyru","html_url":"https://github.com/tyru","followers_url":"https://api.github.com/users/tyru/followers","following_url":"https://api.github.com/users/tyru/following{/other_user}","gists_url":"https://api.github.com/users/tyru/gists{/gist_id}","starred_url":"https://api.github.com/users/tyru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyru/subscriptions","organizations_url":"https://api.github.com/users/tyru/orgs","repos_url":"https://api.github.com/users/tyru/repos","events_url":"https://api.github.com/users/tyru/events{/privacy}","received_events_url":"https://api.github.com/users/tyru/received_events","type":"User","site_admin":false},"labels":[{"id":159343,"url":"https://api.github.com/repos/vim-jp/issues/labels/kind/discuss","name":"kind/discuss","color":"e10c02","default":false},{"id":150585,"url":"https://api.github.com/repos/vim-jp/issues/labels/status/sent%20patch","name":"status/sent patch","color":"e102d8","default":false},{"id":222678,"url":"https://api.github.com/repos/vim-jp/issues/labels/xlose/fixed","name":"xlose/fixed","color":"444444","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":38,"created_at":"2016-02-25T12:06:10Z","updated_at":"2016-10-28T05:27:17Z","closed_at":"2016-10-28T00:26:13Z","body":"## 質問・報告の内容\r\n\r\n現在[実行した外部プログラムをバッファに表示する簡単なVimプラグイン](https://github.com/tyru/jobby.vim)を作っています。\r\nしかし例えば `sleep 2` 等を実行してみても`exit-cb`ハンドラーが実行されるまでに10秒以上かかる場合があります。\r\n\r\n![c224bce9e62f6cb0e9dae0b439606597](https://cloud.githubusercontent.com/assets/48169/13319213/7cac9c14-dc03-11e5-8422-1681a8475d8b.png)\r\n\r\n`:help job-exit-cb` には Vim はプロセスの生死を10秒毎にチェックするとあり仕様通りという事は理解したのですが、これを SIGCHLD 等で代替することはできないでしょうか？\r\n(Windows や他OSでの実装が難しい？)\r\n\r\n\r\n## Vimのバージョン\r\n\r\n7.4.1412\r\n\r\n## OSの種類\r\n\r\n*   Linux\r\n\r\n## OSのディストリ\r\n\r\nArch Linux\r\n\r\n## 使用している or 関係していそうなプラグイン\r\n\r\nhttps://github.com/tyru/jobby.vim"},"comment":{"url":"https://api.github.com/repos/vim-jp/issues/issues/comments/256839355","html_url":"https://github.com/vim-jp/issues/issues/839#issuecomment-256839355","issue_url":"https://api.github.com/repos/vim-jp/issues/issues/839","id":256839355,"user":{"login":"splhack","id":81904,"avatar_url":"https://avatars.githubusercontent.com/u/81904?v=3","gravatar_id":"","url":"https://api.github.com/users/splhack","html_url":"https://github.com/splhack","followers_url":"https://api.github.com/users/splhack/followers","following_url":"https://api.github.com/users/splhack/following{/other_user}","gists_url":"https://api.github.com/users/splhack/gists{/gist_id}","starred_url":"https://api.github.com/users/splhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splhack/subscriptions","organizations_url":"https://api.github.com/users/splhack/orgs","repos_url":"https://api.github.com/users/splhack/repos","events_url":"https://api.github.com/users/splhack/events{/privacy}","received_events_url":"https://api.github.com/users/splhack/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T05:27:17Z","updated_at":"2016-10-28T05:27:17Z","body":"MacVim GUIで`GUI_FLAG=-fg make test_channel`する場合に限りますが、patch 8.0.0049までは問題なかったです。50以降、GUIがアクティブじゃないと帰ってこなくなります。メッセージループがまわってないとダメかなと。"}}
{"actor":{"display_login":"splhack"}}