{"action":"opened","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/813","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/813/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/813/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/813/events","html_url":"https://github.com/commercialhaskell/stack/issues/813","id":101672483,"number":813,"title":"Stack exec does not properly pass arguments to command on windows","user":{"login":"themoritz","id":3522732,"avatar_url":"https://avatars.githubusercontent.com/u/3522732?v=3","gravatar_id":"","url":"https://api.github.com/users/themoritz","html_url":"https://github.com/themoritz","followers_url":"https://api.github.com/users/themoritz/followers","following_url":"https://api.github.com/users/themoritz/following{/other_user}","gists_url":"https://api.github.com/users/themoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/themoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themoritz/subscriptions","organizations_url":"https://api.github.com/users/themoritz/orgs","repos_url":"https://api.github.com/users/themoritz/repos","events_url":"https://api.github.com/users/themoritz/events{/privacy}","received_events_url":"https://api.github.com/users/themoritz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T14:40:27Z","updated_at":"2015-08-18T14:40:27Z","closed_at":null,"body":"On windows, stack does not pass all the arguments that come after the double dash `--` to the command. The following works:\r\n\r\n    stack exec cabal -- install\r\n\r\nBut the following does not (it shows stack's version):\r\n\r\n    stack exec cabal -- --version\r\n\r\nThis shows stack's usage (i.e. stack thinks the --global option is intended for stack):\r\n\r\n    stack exec cabal -- install --global\r\n\r\nAll the above commands work as expected on linux."}}