Closed dsanson closed 13 years ago
What is the value of python's sys.platform in cygwin?
Looks like it is 'cygwin':
So, what advantage does the has() value give us over the current approach? What difference should we expect under cygwin?
The current approach is fine. Also I thought there was a note in the source raising a worry about how to handle cygwin, but I see that is now gone.
This was part of my ruminations on avoiding dependence on python and ruby where possible. Sorry for the confusion. Move along. Nothing to see here :-)
Right now, we detect OS in python, and aren't checking to see if we are running under cygwin. Take a look at
:h has()
and:h feature-list
. In particular, noteetc. This gives us fairly fine grained detection of what we are working with...