Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support windows #90
referenced this pull request
Aug 20, 2014
Please merge! f03df35 broke pygments.rb—and all the software that depends on it—on Windows. That's upset several thousand Jekyll bloggers https://stackoverflow.com/questions/17364028/jekyll-on-windows-pygments-not-working
Um, thinking about this again... Since you could install Python 2 and 3 side by side on Windows it would be no good idea to just blindly call the "python" binary. On Windows you could use the Python Launcher called as "py -2" which will spawn a Python 2 interpreter for you.
True. But just calling "python" gets you the "default" Python interpreter which might be Python 3, and that will fail.
That's why I suggest to use the Python Launcher instead (which gets installed in %systemroot% and thus will always be found - regardless of the directories in %PATH%). The launcher will then figure out how to start a suitable Python interpreter by itself.
I disagree on that one. There's no point in fixing something, rolling out a release if you know in advance that it will not work (especially when you have a better solution).
Would you mind updating your pull request to use "py -2" please? Thanks!