{"action":"created","issue":{"url":"https://api.github.com/repos/rprichard/winpty/issues/138","repository_url":"https://api.github.com/repos/rprichard/winpty","labels_url":"https://api.github.com/repos/rprichard/winpty/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/rprichard/winpty/issues/138/comments","events_url":"https://api.github.com/repos/rprichard/winpty/issues/138/events","html_url":"https://github.com/rprichard/winpty/issues/138","id":298407615,"number":138,"title":"winpty: error: cannot start 'mvn': Not found in PATH","user":{"login":"mihab","id":1518703,"avatar_url":"https://avatars3.githubusercontent.com/u/1518703?v=4","gravatar_id":"","url":"https://api.github.com/users/mihab","html_url":"https://github.com/mihab","followers_url":"https://api.github.com/users/mihab/followers","following_url":"https://api.github.com/users/mihab/following{/other_user}","gists_url":"https://api.github.com/users/mihab/gists{/gist_id}","starred_url":"https://api.github.com/users/mihab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihab/subscriptions","organizations_url":"https://api.github.com/users/mihab/orgs","repos_url":"https://api.github.com/users/mihab/repos","events_url":"https://api.github.com/users/mihab/events{/privacy}","received_events_url":"https://api.github.com/users/mihab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T21:37:59Z","updated_at":"2018-02-20T09:25:07Z","closed_at":null,"author_association":"NONE","body":"A bit silly, but does anyone know what is going on here:\r\n\r\nmiha@DESKTOP-CEC4TIT MINGW64 ~\r\n$ mvn --version\r\nApache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)\r\nMaven home: C:\\Users\\miha\\Dev\\maven\\3.5.2\r\nJava version: 1.8.0_161, vendor: Oracle Corporation\r\nJava home: C:\\Program Files\\Java\\jdk1.8.0_161\\jre\r\nDefault locale: en_US, platform encoding: Cp1252\r\nOS name: \"windows 10\", version: \"10.0\", arch: \"amd64\", family: \"windows\"\r\n\r\nmiha@DESKTOP-CEC4TIT MINGW64 ~\r\n$ winpty mvn --version\r\nwinpty: error: cannot start 'mvn': Not found in PATH\r\n\r\nmiha@DESKTOP-CEC4TIT MINGW64 ~\r\n$ winpty which mvn\r\n/c/Users/miha/Dev/maven/3.5.2/bin/mvn\r\n\r\nQuite obviously mvn is on the path, works with Command Prompt and Git Bash (but cannot be interrupted), but when used via winpty it's apparently not on the path? Does winpty use a different path variable or something?"},"comment":{"url":"https://api.github.com/repos/rprichard/winpty/issues/comments/366917663","html_url":"https://github.com/rprichard/winpty/issues/138#issuecomment-366917663","issue_url":"https://api.github.com/repos/rprichard/winpty/issues/138","id":366917663,"user":{"login":"k-takata","id":840186,"avatar_url":"https://avatars2.githubusercontent.com/u/840186?v=4","gravatar_id":"","url":"https://api.github.com/users/k-takata","html_url":"https://github.com/k-takata","followers_url":"https://api.github.com/users/k-takata/followers","following_url":"https://api.github.com/users/k-takata/following{/other_user}","gists_url":"https://api.github.com/users/k-takata/gists{/gist_id}","starred_url":"https://api.github.com/users/k-takata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-takata/subscriptions","organizations_url":"https://api.github.com/users/k-takata/orgs","repos_url":"https://api.github.com/users/k-takata/repos","events_url":"https://api.github.com/users/k-takata/events{/privacy}","received_events_url":"https://api.github.com/users/k-takata/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T09:25:07Z","updated_at":"2018-02-20T09:25:07Z","author_association":"NONE","body":"How about executing with the `.cmd` extension?\r\n`$ winpty mvn.cmd`"}}
{"actor":{"display_login":"k-takata"}}