{"action":"created","issue":{"url":"https://api.github.com/repos/macvim-dev/macvim/issues/937","repository_url":"https://api.github.com/repos/macvim-dev/macvim","labels_url":"https://api.github.com/repos/macvim-dev/macvim/issues/937/labels{/name}","comments_url":"https://api.github.com/repos/macvim-dev/macvim/issues/937/comments","events_url":"https://api.github.com/repos/macvim-dev/macvim/issues/937/events","html_url":"https://github.com/macvim-dev/macvim/issues/937","id":484402713,"node_id":"MDU6SXNzdWU0ODQ0MDI3MTM=","number":937,"title":"python environment not used anymore","user":{"login":"AUsernameWhichIsNotTaken","id":46347509,"node_id":"MDQ6VXNlcjQ2MzQ3NTA5","avatar_url":"https://avatars0.githubusercontent.com/u/46347509?v=4","gravatar_id":"","url":"https://api.github.com/users/AUsernameWhichIsNotTaken","html_url":"https://github.com/AUsernameWhichIsNotTaken","followers_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/followers","following_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/following{/other_user}","gists_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/subscriptions","organizations_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/orgs","repos_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/repos","events_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/events{/privacy}","received_events_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-08-23T08:36:24Z","updated_at":"2019-08-23T15:00:15Z","closed_at":null,"author_association":"NONE","body":"Since last update to Version 8.1.1722 (157) (on macOS 10.14.6) a python call within mvim doesn't use the python version from the environment mvim was started from but uses the system python. (before the update the python version from the environment was used)\r\n\r\n- activate a python environment in a directory which has a different python version than the system python\r\n(- may check `python --version` in this directory)\r\n- run `mvim` in this directory\r\n- call vim command `:!python --version`\r\n\r\nOn my computer it returns the version number of the os-python not of the env-python\r\n\r\n<img width=\"575\" alt=\"venv-version\" src=\"https://user-images.githubusercontent.com/46347509/63578914-294c1c00-c59a-11e9-850d-458ab6bac116.png\">\r\n<img width=\"431\" alt=\"mvim-version\" src=\"https://user-images.githubusercontent.com/46347509/63578923-2f41fd00-c59a-11e9-9fb9-842c87df5f63.png\">\r\n\r\n[filed vim/vim issue #4856](https://github.com/vim/vim/issues/4856)"},"comment":{"url":"https://api.github.com/repos/macvim-dev/macvim/issues/comments/524348480","html_url":"https://github.com/macvim-dev/macvim/issues/937#issuecomment-524348480","issue_url":"https://api.github.com/repos/macvim-dev/macvim/issues/937","id":524348480,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNDM0ODQ4MA==","user":{"login":"AUsernameWhichIsNotTaken","id":46347509,"node_id":"MDQ6VXNlcjQ2MzQ3NTA5","avatar_url":"https://avatars0.githubusercontent.com/u/46347509?v=4","gravatar_id":"","url":"https://api.github.com/users/AUsernameWhichIsNotTaken","html_url":"https://github.com/AUsernameWhichIsNotTaken","followers_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/followers","following_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/following{/other_user}","gists_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/subscriptions","organizations_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/orgs","repos_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/repos","events_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/events{/privacy}","received_events_url":"https://api.github.com/users/AUsernameWhichIsNotTaken/received_events","type":"User","site_admin":false},"created_at":"2019-08-23T15:00:15Z","updated_at":"2019-08-23T15:00:15Z","author_association":"NONE","body":"The problem seems to be that mvim/vim opens a new shell to run `cmd` from `:!cmd` because `:!echo $PATH` =\\= `:echo $PATH`. The later returns the content from the path variable of the shell mvim/vim was started in while the former does not.\r\n\r\nHow to ensure that $PATH of the shell mvim/vim was started in is used for `:!cmd`-call?"}}
{"actor":{"display_login":"AUsernameWhichIsNotTaken"}}