{"action":"closed","issue":{"url":"https://api.github.com/repos/sindresorhus/os-locale/issues/6","labels_url":"https://api.github.com/repos/sindresorhus/os-locale/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/os-locale/issues/6/comments","events_url":"https://api.github.com/repos/sindresorhus/os-locale/issues/6/events","html_url":"https://github.com/sindresorhus/os-locale/issues/6","id":103492810,"number":6,"title":"wmic os get locale command failing","user":{"login":"bapti","id":1849893,"avatar_url":"https://avatars.githubusercontent.com/u/1849893?v=3","gravatar_id":"","url":"https://api.github.com/users/bapti","html_url":"https://github.com/bapti","followers_url":"https://api.github.com/users/bapti/followers","following_url":"https://api.github.com/users/bapti/following{/other_user}","gists_url":"https://api.github.com/users/bapti/gists{/gist_id}","starred_url":"https://api.github.com/users/bapti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bapti/subscriptions","organizations_url":"https://api.github.com/users/bapti/orgs","repos_url":"https://api.github.com/users/bapti/repos","events_url":"https://api.github.com/users/bapti/events{/privacy}","received_events_url":"https://api.github.com/users/bapti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T12:01:01Z","updated_at":"2015-08-27T13:10:15Z","closed_at":"2015-08-27T13:10:15Z","body":"Hi - I'm not sure if this is an issue with your library so sorry if I've made a mistake.\r\n\r\nI use the library yargs and it's started regularly throwing in your library through this line which was added as part of `1.2.0` in the change linked below\r\n\r\nhttps://github.com/sindresorhus/os-locale/commit/cf130b6e79b0daf5b38092eda0fcca91a48340ed#diff-168726dbe96b3ce427e7fedce31bb0bc\r\n\r\n```\r\nvar stdout = execFileSync('wmic', ['os', 'get', 'locale'], {encoding: 'utf8'});\r\n```\r\n\r\nIt gives the following error every other build or so`Error: Command failed: wmic os get locale`\r\n\r\nDoes anything spring to mind, I've not found a whole lot online as to what the problem might be.  If you'd be willing I'd be happy to make a pull request to make this call fault tolerant.\r\n\r\nThanks\r\nNeil"}}