{"issue":{"created_at":"2011-11-29T20:26:39Z","state":"open","updated_at":"2011-11-30T00:02:41Z","comments":2,"user":{"gravatar_id":"2b5b729537aaef280639ce21fc2194c1","id":50076,"url":"https://api.github.com/users/davidmarin","avatar_url":"https://secure.gravatar.com/avatar/2b5b729537aaef280639ce21fc2194c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"davidmarin"},"body":"`mrjob/examples/mr_word_freq_count.py` doesn't work on Windows because of the way we handle the shell pipeline, we actually construct a command line like `mapper | sort | combiner` and pass it to the shell.\r\n\r\nI've gotten part way through fixing this, but it seems like the underlying problem is that `mrjob.util.cmd_line()` only really works with UNIX (it uses `pipes.quote()`, and `pipes` is a Unix Python module). Probably the best fix is to set up a pipeline using `subprocess` and avoid the shell entirely.\r\n","assignee":{"gravatar_id":"2b5b729537aaef280639ce21fc2194c1","id":50076,"url":"https://api.github.com/users/davidmarin","avatar_url":"https://secure.gravatar.com/avatar/2b5b729537aaef280639ce21fc2194c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"davidmarin"},"id":2392277,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Bug","color":"d95757","url":"https://api.github.com/repos/Yelp/mrjob/labels/Bug"}],"number":295,"title":"local mode doesn't work on Windows","html_url":"https://github.com/Yelp/mrjob/issues/295","closed_at":null,"url":"https://api.github.com/repos/Yelp/mrjob/issues/295","milestone":{"created_at":"2011-10-31T23:41:29Z","state":"open","closed_issues":14,"due_on":null,"creator":{"gravatar_id":"2b5b729537aaef280639ce21fc2194c1","id":50076,"url":"https://api.github.com/users/davidmarin","avatar_url":"https://secure.gravatar.com/avatar/2b5b729537aaef280639ce21fc2194c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"davidmarin"},"number":6,"description":"Final bugfixes, cleanup, and documentation for v0.3.0.\r\n","title":"v0.3.0 release","url":"https://api.github.com/repos/Yelp/mrjob/milestones/6","open_issues":1}},"action":"created","comment":{"created_at":"2011-11-30T00:02:41Z","updated_at":"2011-11-30T00:02:41Z","user":{"gravatar_id":"2b5b729537aaef280639ce21fc2194c1","id":50076,"url":"https://api.github.com/users/davidmarin","avatar_url":"https://secure.gravatar.com/avatar/2b5b729537aaef280639ce21fc2194c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"davidmarin"},"body":"Fixed a ton of other Windows-specific issues; see #300.","id":2952760,"url":"https://api.github.com/repos/Yelp/mrjob/issues/comments/2952760"}}