{"action":"opened","issue":{"url":"https://api.github.com/repos/Shougo/denite.nvim/issues/553","repository_url":"https://api.github.com/repos/Shougo/denite.nvim","labels_url":"https://api.github.com/repos/Shougo/denite.nvim/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/denite.nvim/issues/553/comments","events_url":"https://api.github.com/repos/Shougo/denite.nvim/issues/553/events","html_url":"https://github.com/Shougo/denite.nvim/issues/553","id":394612622,"node_id":"MDU6SXNzdWUzOTQ2MTI2MjI=","number":553,"title":"Denite can not use PATH from gvim","user":{"login":"wsdjeg","id":13142418,"node_id":"MDQ6VXNlcjEzMTQyNDE4","avatar_url":"https://avatars2.githubusercontent.com/u/13142418?v=4","gravatar_id":"","url":"https://api.github.com/users/wsdjeg","html_url":"https://github.com/wsdjeg","followers_url":"https://api.github.com/users/wsdjeg/followers","following_url":"https://api.github.com/users/wsdjeg/following{/other_user}","gists_url":"https://api.github.com/users/wsdjeg/gists{/gist_id}","starred_url":"https://api.github.com/users/wsdjeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsdjeg/subscriptions","organizations_url":"https://api.github.com/users/wsdjeg/orgs","repos_url":"https://api.github.com/users/wsdjeg/repos","events_url":"https://api.github.com/users/wsdjeg/events{/privacy}","received_events_url":"https://api.github.com/users/wsdjeg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T11:10:21Z","updated_at":"2018-12-28T11:10:21Z","closed_at":null,"author_association":"NONE","body":"**Warning:  I will close the issue without the minimal init.vim and the reproduction instructions.**\r\n\r\n# Problems summary\r\n\r\nwhen using denite in gvim (win 7),  I get error message:\r\n\r\n```\r\n[denite] file_rec: pt is not executable.\r\n```\r\n\r\nthat mean denite can not find pt in my path, but in gvim, `:echo executable('pt')` return 1. and I have changed $PATH in my vimrc\r\n\r\n```\r\n        let $PATH .= ';D:\\bin'\r\n```\r\n\r\n## Expected\r\n\r\nI think when deinte is started, it should use the value $PATH of gvim.\r\n\r\n## Environment Information (Required!)\r\n\r\n * denite version (SHA1): master\r\n\r\n * OS: Win 7\r\n\r\n * Vim/neovim version: gvim8.1\r\n\r\n * `:checkhealth` or `:CheckHealth` result(neovim only):\r\n\r\n## Provide a minimal init.vim with less than 50 lines (Required!)\r\n\r\n```vim\r\n\" Your minimal init.vim\r\nset runtimepath+=~/path/to/denite.nvim/\r\n        let $PATH .= ';D:\\bin'\r\n\r\n```\r\n\r\n\r\n## How to reproduce problems from neovim startup (Required!)\r\n\r\n 1.  just start denite, it failed with some error message.\r\n\r\n\r\nI just read the source of denite, it use this func to check executable.\r\n\r\n```\r\n        if shutil.which(args[0]) is None:\r\n            self.error_message(context, args[0] + ' is not executable.')\r\n            return []\r\n```\r\n\r\nI think this function do not use gvim's $PATH."}}
{"actor":{"display_login":"wsdjeg"}}