{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/grunt-i18n-abide/issues/47","labels_url":"https://api.github.com/repos/mozilla/grunt-i18n-abide/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/grunt-i18n-abide/issues/47/comments","events_url":"https://api.github.com/repos/mozilla/grunt-i18n-abide/issues/47/events","html_url":"https://github.com/mozilla/grunt-i18n-abide/issues/47","id":83179712,"number":47,"title":"`abideCreate` fails under Windows if path contains space","user":{"login":"ArmorDarks","id":4460311,"avatar_url":"https://avatars.githubusercontent.com/u/4460311?v=3","gravatar_id":"","url":"https://api.github.com/users/ArmorDarks","html_url":"https://github.com/ArmorDarks","followers_url":"https://api.github.com/users/ArmorDarks/followers","following_url":"https://api.github.com/users/ArmorDarks/following{/other_user}","gists_url":"https://api.github.com/users/ArmorDarks/gists{/gist_id}","starred_url":"https://api.github.com/users/ArmorDarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArmorDarks/subscriptions","organizations_url":"https://api.github.com/users/ArmorDarks/orgs","repos_url":"https://api.github.com/users/ArmorDarks/repos","events_url":"https://api.github.com/users/ArmorDarks/events{/privacy}","received_events_url":"https://api.github.com/users/ArmorDarks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-31T20:30:18Z","updated_at":"2015-06-01T12:20:33Z","closed_at":"2015-06-01T12:20:33Z","body":"Hi\r\n\r\nIf gettext utilities for Windows were installed into directory, which has spaces (and it's quite typical situation, since most part of software under Windows installed in `Program Files`), `abideCreate` task will fail with following error:\r\n\r\n![xvbkm5](https://cloud.githubusercontent.com/assets/4460311/7903691/7d3413e2-07ec-11e5-94d1-ad5f6432fed9.png)\r\n\r\nUnder some nasty characters hiddes following message:\r\n\r\n```\r\n\"C:\\Program\" isn't internal or external\r\ncommand, executable program or file\r\n```\r\n\r\n(translation can be a bit inaccurate)\r\n\r\nReason for such behaviour is quite simple — space in path.\r\n\r\nCommand need to be executed in following format to prevent such behavior:\r\n\r\n```\r\n\"C:\\Program Files\\gettext-iconv\\msginit.exe\" --no-translator --input locale\\templates\\LC_MESSAGE\r\nS\\messages.pot --output locale\\en_US\\LC_MESSAGES\\messages.po -l en_US\r\n```\r\n\r\nNote wrapping quotes around path to executable `msginit.exe`."}}