{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/5049","repository_url":"https://api.github.com/repos/nim-lang/Nim","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/5049/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/5049/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/5049/events","html_url":"https://github.com/nim-lang/Nim/pull/5049","id":191496239,"number":5049,"title":"extend findExe to find cmd and bat ","user":{"login":"Tormund","id":3950336,"avatar_url":"https://avatars.githubusercontent.com/u/3950336?v=3","gravatar_id":"","url":"https://api.github.com/users/Tormund","html_url":"https://github.com/Tormund","followers_url":"https://api.github.com/users/Tormund/followers","following_url":"https://api.github.com/users/Tormund/following{/other_user}","gists_url":"https://api.github.com/users/Tormund/gists{/gist_id}","starred_url":"https://api.github.com/users/Tormund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tormund/subscriptions","organizations_url":"https://api.github.com/users/Tormund/orgs","repos_url":"https://api.github.com/users/Tormund/repos","events_url":"https://api.github.com/users/Tormund/events{/privacy}","received_events_url":"https://api.github.com/users/Tormund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-24T11:25:28Z","updated_at":"2016-11-28T09:55:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nim-lang/Nim/pulls/5049","html_url":"https://github.com/nim-lang/Nim/pull/5049","diff_url":"https://github.com/nim-lang/Nim/pull/5049.diff","patch_url":"https://github.com/nim-lang/Nim/pull/5049.patch"},"body":"Extend findExe to find windows script.\r\nPriority: exe -> bat -> cmd.\r\n\r\n\r\n```\r\nimport os\r\n\r\necho \"findExe \", findExe(\"emcc\")     \r\necho \"findExe \", findExe(\"rodasset\")\r\necho \"findExe \", findExe(\"gcc\")        \r\n\r\n```\r\nC:\\Program Files\\Emscripten\\emscripten\\1.35.0\\emcc.bat\r\nC:\\Users\\tormund\\.nimble\\bin\\rodasset.cmd\r\nD:\\MinGW\\bin\\gcc.exe"},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/263228786","html_url":"https://github.com/nim-lang/Nim/pull/5049#issuecomment-263228786","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/5049","id":263228786,"user":{"login":"Araq","id":287816,"avatar_url":"https://avatars.githubusercontent.com/u/287816?v=3","gravatar_id":"","url":"https://api.github.com/users/Araq","html_url":"https://github.com/Araq","followers_url":"https://api.github.com/users/Araq/followers","following_url":"https://api.github.com/users/Araq/following{/other_user}","gists_url":"https://api.github.com/users/Araq/gists{/gist_id}","starred_url":"https://api.github.com/users/Araq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Araq/subscriptions","organizations_url":"https://api.github.com/users/Araq/orgs","repos_url":"https://api.github.com/users/Araq/repos","events_url":"https://api.github.com/users/Araq/events{/privacy}","received_events_url":"https://api.github.com/users/Araq/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T09:55:24Z","updated_at":"2016-11-28T09:55:24Z","body":"Back to the topic: I think the idea behind the PR is good and findExe should deal with .exe, .bat, .cmd via an optional parameter \"supported extensions\".\r\n"}}
{"actor":{"display_login":"Araq"}}