def ConvertToCygpath(path):
  if sys.platform == 'cygwin':
    p = subprocess.Popen(['cygpath', path], stdout=subprocess.PIPE)
    path = p.communicate()[0].strip()
  return path
Convert to cygwin path if we are using cygwin.
dataset/ETHPy150Open adblockplus/gyp/test/lib/TestGyp.py/ConvertToCygpath